Skip to content

Bump rain-sol-codegen 0.1.37, rainlang-interface 0.2.9, rain-deploy 0.1.10, rainlang 0.2.6 and the float/metadata/typecast pins they force - #215

Merged
thedavidmeister merged 1 commit into
mainfrom
2026-09-14-codegen-0-1-37
Sep 14, 2026
Merged

thedavidmeister merged 1 commit into
mainfrom
2026-09-14-codegen-0-1-37

Conversation

@thedavidmeister

@thedavidmeister thedavidmeister commented Sep 14, 2026 •

Copy link
Copy Markdown
Collaborator

What

Bump rain-sol-codegen 0.1.36 -> 0.1.37 and the pins that carry it: rainlang-interface 0.2.8 -> 0.2.9, rain-deploy 0.1.7 -> 0.1.10, rainlang 0.2.1 -> 0.2.6.

rainlang 0.2.6 hard-imports versioned paths that the repo did not pin at those versions, and soldeer keeps one version per package, so the bump forces: rain-math-float 0.1.1 -> 0.2.1, rain-metadata 0.1.0 -> 0.1.7, rain-lib-typecast 0.1.0 -> 0.1.4, and a new pin rain-math-float-deploy 0.1.2. Every old copy under dependencies/ and every stale remappings.txt line is pruned; no version is aliased onto another. Versioned import paths across src, script and test are rewritten to match.

flake.lock: the rain input (github:rainlanguage/rain.cli) moves to 91d70ac, the commit that fixed crate vendoring, so the repo devshell builds again.

Why

The org health dashboard flags the pins as stale. Published packages hard-import the versioned codegen path, so the repo can only take codegen 0.1.37 once every pinned package that imports codegen is on a release built against it.

QA

Discriminating tests: n/a, pure pin bump with no logic changed; the existing suite is the check.
Mutations applied: n/a, no logic changed.
Oracle: soldeer registry latest revisions for each package and the versioned imports inside the fetched packages; git diff scope is foundry.toml, soldeer.lock, remappings.txt, flake.lock, import lines and the regenerated pointer.
Category check: dependency bump.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V8ViHcKLVk2YoS2joH4HdN

Summary by CodeRabbit

  • Chores

    • Updated Rain ecosystem dependencies and remappings to newer versions.
    • Added support for the Rain math-float deployment package.
    • Refreshed build, deployment, contract, and test references for compatibility with the updated packages.
  • Tests

    • Updated test dependencies while preserving existing test logic and assertions.

….1.10, rainlang 0.2.6, rain-math-float 0.2.1, rain-metadata 0.1.7, rain-lib-typecast 0.1.4, add rain-math-float-deploy 0.1.2

rainlang 0.2.6 hard-imports rain-math-float 0.2.1, rain-math-float-deploy
0.1.2, rain-metadata 0.1.7 and rain-lib-typecast 0.1.4, and soldeer keeps
one version per package, so those pins move with it. Old copies under
dependencies/ and stale remappings are pruned; no version is aliased.

flake.lock takes rain.cli 91d70ac so the devshell vendors crates again.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V8ViHcKLVk2YoS2joH4HdN
@coderabbitai

coderabbitai Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 0709c46d-cc8c-43a0-8dec-abc59ca2b18b

📥 Commits

Reviewing files that changed from the base of the PR and between c65db2f and dfb342c.

⛔ Files ignored due to path filters (2)
  • flake.lock is excluded by !**/*.lock
  • soldeer.lock is excluded by !**/*.lock
📒 Files selected for processing (21)
  • foundry.toml
  • remappings.txt
  • script/Build.sol
  • script/Deploy.sol
  • src/abstract/FlareFtsoExtern.sol
  • src/abstract/FlareFtsoSubParser.sol
  • src/concrete/FlareFtsoWords.sol
  • src/lib/op/LibOpFtsoCurrentPricePair.sol
  • src/lib/op/LibOpFtsoCurrentPriceUsd.sol
  • src/lib/op/LibOpSFlrCurrentExchangeRate.sol
  • src/lib/parse/LibFlareFtsoSubParser.sol
  • test/abstract/FtsoTest.sol
  • test/src/concrete/FlareFtsoWords.ftsoCurrentPricePair.t.sol
  • test/src/concrete/FlareFtsoWords.ftsoCurrentPriceUsd.t.sol
  • test/src/concrete/FlareFtsoWords.ierc165.t.sol
  • test/src/concrete/FlareFtsoWords.operandDisallowed.t.sol
  • test/src/concrete/FlareFtsoWords.pointers.t.sol
  • test/src/concrete/FlareFtsoWords.sflrCurrentExchangeRate.t.sol
  • test/src/concrete/FlareFtsoWords.wordOpcodeAlignment.t.sol
  • test/src/lib/op/LibOpFtsoCurrentPricePair.t.sol
  • test/src/lib/op/LibOpFtsoCurrentPriceUsd.t.sol

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


Walkthrough

The change updates Rain dependency versions in Foundry configuration and remappings. It updates matching imports in build scripts, deployment scripts, production Solidity files, and tests. No runtime logic, public declarations, test logic, or assertions change.

Changes

Rain dependency updates

Layer / File(s) Summary
Dependency declarations
foundry.toml, remappings.txt
Rain dependency versions are updated, and rain-math-float-deploy is added.
Build, deployment, and source imports
script/Build.sol, script/Deploy.sol, src/abstract/*, src/concrete/*, src/lib/*
Production and script imports are aligned with the updated Rain package versions.
Test import alignment
test/abstract/FtsoTest.sol, test/src/concrete/*, test/src/lib/op/*
Test imports are aligned with the updated Rain package versions. Test logic and assertions are unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to dfb34

The PR updates aligned Rain dependency versions and imports without changing application logic or test assertions; no concrete runtime or integration regression is established, so it is suitable to merge after normal build checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change: updating Rain dependency versions, including rain-sol-codegen and related forced pins.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 2026-09-14-codegen-0-1-37

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@thedavidmeister
thedavidmeister merged commit ff883aa into main Sep 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant