Skip to content

Bump rain-sol-codegen 0.1.37 with rainlang 0.2.6, rainlang-interface 0.2.9, rain-deploy 0.1.10 and the transitive pins they carry - #40

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
Contributor

What

Bump rain-sol-codegen to 0.1.37 together with the pinned packages that import it: rainlang 0.2.6, rainlang-interface 0.2.9, rain-deploy 0.1.10. 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, so those pins move to exactly those versions (rain-math-float-deploy is new). Old dependency copies and remappings are pruned, every versioned import path in src, script and test is rewritten, and no version is aliased onto another.

flake.lock takes rain.cli 91d70ac (crate vendoring fixed) so the default devshell builds again; HEAD bce8de4 fails on a stale cargoHash.

script/Build.sol was re-run; src/generated/PythWordsPointers.sol is byte-identical, so the pointer did not move.

Why

The org health dashboard flags the rain-sol-codegen, rainlang, rainlang-interface and rain-deploy pins as stale, and soldeer keeps one version per package, so codegen 0.1.37 can only land once every importer is on a release built against it.

QA

  • Discriminating tests: n/a, pure pin bump with no logic changed; the existing suite (16 tests) passes against the new pins.
  • Mutations applied: n/a, no logic changed.
  • Oracle: soldeer registry latest revisions for each package; git diff scope is foundry.toml, soldeer.lock, remappings.txt, flake.lock and the import lines in src, script and test.
  • Category check: dependency bump; no source logic, generated pointer or deploy workflow touched.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V8ViHcKLVk2YoS2joH4HdN

Summary by CodeRabbit

  • Chores

    • Updated Rain protocol dependencies and package references to newer versions.
    • Added deployment support for the Rain floating-point math package.
    • Updated build and deployment tooling to remain compatible with the refreshed dependencies.
  • Tests

    • Updated test references to the newer language and floating-point math packages.
    • Existing test logic, assertions, and expected values remain unchanged.

…9, rain-deploy 0.1.10, 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, so those pins move
with it. flake.lock takes rain.cli 91d70ac so the default devshell builds.

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
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 09489773-ff11-4706-b16d-704601b4df4f

📥 Commits

Reviewing files that changed from the base of the PR and between 7fb0976 and 1d68763.

⛔ Files ignored due to path filters (2)
  • flake.lock is excluded by !**/*.lock
  • soldeer.lock is excluded by !**/*.lock
📒 Files selected for processing (13)
  • foundry.toml
  • remappings.txt
  • script/Build.sol
  • script/Deploy.sol
  • src/abstract/PythExtern.sol
  • src/abstract/PythSubParser.sol
  • src/concrete/PythWords.sol
  • src/lib/op/LibOpPythPrice.sol
  • src/lib/parse/LibPythSubParser.sol
  • src/lib/pyth/LibPyth.sol
  • test/src/concrete/PythWords.pythPrice.t.sol
  • test/src/lib/op/LibOpPythPrice.t.sol
  • test/src/lib/pyth/LibPyth.getPriceNoOlderThan.t.sol

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


Walkthrough

The pull request updates pinned Rain dependencies, adds rain-math-float-deploy, and changes Solidity and test import paths to the corresponding package versions. Contract logic and test assertions remain unchanged.

Changes

Rain dependency version alignment

Layer / File(s) Summary
Dependency pins
foundry.toml, remappings.txt
Rain dependency versions are updated, and rain-math-float-deploy is added.
Source and script import alignment
script/Build.sol, script/Deploy.sol, src/abstract/*, src/concrete/PythWords.sol, src/lib/*
Solidity imports now reference the updated Rain package versions. No contract logic changes are included.
Test import alignment
test/src/concrete/PythWords.pythPrice.t.sol, test/src/lib/op/LibOpPythPrice.t.sol, test/src/lib/pyth/LibPyth.getPriceNoOlderThan.t.sol
Test imports now reference the updated rainlang and rain-math-float versions. Test logic and assertions are unchanged.

Priority: ⬇️ Low

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

Change: Other

Merge Risk: ⚪ Minimal · up to 1d687

The change is limited to dependency and import alignment, with no identified merge-blocking risk.

🚥 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 summarizes the coordinated dependency update and names the primary version changes and transitive pins described in the pull request.
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 3166841 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