Skip to content

Stabilize DIA fork fixtures and RPC config#49

Open
Siddharth2207 wants to merge 5 commits into
audit/codegen-docs-importsfrom
audit/fork-fixtures
Open

Stabilize DIA fork fixtures and RPC config#49
Siddharth2207 wants to merge 5 commits into
audit/codegen-docs-importsfrom
audit/fork-fixtures

Conversation

@Siddharth2207

Copy link
Copy Markdown

Summary

  • read Base fork RPC from BASE_RPC_URL and fail closed in CI when unset
  • repin fork goldens to FORK_BLOCK_BASE (47365950) and sync test header docs
  • remove verbose console2 fork logging and use LibDia.CHAIN_ID_BASE in tests
  • add script/Build.sol for rainix copy-artifacts

Stack

Stacks on audit/codegen-docs-imports. Formerly #37.

Test plan

  • nix develop -c forge test
  • CI copy-artifacts + rainix-sol

Closes #12
Closes #27
Closes #30
Closes #31

Made with Cursor

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 63d7d295-9af0-4008-ad18-da59de35f8ec

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch audit/fork-fixtures

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.

@Siddharth2207
Siddharth2207 requested a review from JuaniRios July 17, 2026 15:05

Siddharth2207 commented Jul 17, 2026

Copy link
Copy Markdown
Author

Comment thread test/lib/LibFork.sol
Comment thread test/lib/LibFork.sol
Comment thread test/lib/LibFork.sol
@Siddharth2207
Siddharth2207 force-pushed the audit/codegen-docs-imports branch from 291ef84 to 9bd3682 Compare July 18, 2026 13:45
Siddharth2207 and others added 5 commits July 18, 2026 19:24
Read Base RPC from BASE_RPC_URL in CI, repin fork goldens to FORK_BLOCK_BASE,
drop debug console logging, and use LibDia.CHAIN_ID_BASE in tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Assert the exact AMZN price and timestamp at the fork-fixtures block.

Co-authored-by: Cursor <cursoragent@cursor.com>
Treat empty CI secrets as missing and cover configured, local-default, and fail-closed URL selection paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
Exercise empty CI configuration through the pure resolver without mutating environment variables shared by other Forge suites.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Siddharth2207
Siddharth2207 force-pushed the audit/codegen-docs-imports branch from 9bd3682 to d1be19b Compare July 18, 2026 14:04
@Siddharth2207
Siddharth2207 requested a review from JuaniRios July 18, 2026 16:52
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.

2 participants