Skip to content

Update networks.json#2813

Open
rouzwelt wants to merge 2 commits into
mainfrom
2026-07-16-sg-base-address
Open

Update networks.json#2813
rouzwelt wants to merge 2 commits into
mainfrom
2026-07-16-sg-base-address

Conversation

@rouzwelt

@rouzwelt rouzwelt commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Motivation

Solution

Checks

By submitting this for review, I'm confirming I've done the following:

  • made this PR as small as possible
  • unit-tested any new functionality
  • linked any relevant issues or PRs
  • included screenshots (if this involves a front-end change)

Summary by CodeRabbit

  • Bug Fixes
    • Updated the Base network configuration to use the correct Raindex contract address and deployment starting block.

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@rouzwelt, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 49 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 461ffa6a-e370-4040-a294-a178d07a9c98

📥 Commits

Reviewing files that changed from the base of the PR and between a7f2836 and 8e9477b.

📒 Files selected for processing (1)
  • subgraph/networks.json
📝 Walkthrough

Walkthrough

The base network’s Raindex configuration now uses a new address and starting block. Other network entries remain unchanged.

Changes

Base Raindex configuration

Layer / File(s) Summary
Update base Raindex deployment
subgraph/networks.json
The base -> Raindex entry replaces its address and startBlock values.

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

Suggested reviewers: thedavidmeister

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title matches the touched file, but it is generic and does not describe the actual network configuration change. Rename it to describe the substantive change, e.g. update the Base Raindex address and start block in networks.json.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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-07-16-sg-base-address

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@subgraph/networks.json`:
- Line 17: Update the Base network’s startBlock in subgraph/networks.json to
match the canonical RAINDEX_START_BLOCK_BASE value defined by LibRaindexDeploy
and asserted by LibRaindexDeployNetworksJsonStartBlockBase.t.sol, using
47387582.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 575758c2-713f-4634-b457-ca0a3e4384be

📥 Commits

Reviewing files that changed from the base of the PR and between bb83031 and a7f2836.

📒 Files selected for processing (1)
  • subgraph/networks.json

Comment thread subgraph/networks.json
"address": "0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20",
"startBlock": 47387582
"address": "0xe522cB4a5fCb2eb31a52Ff41a4653d85A4fd7C9D",
"startBlock": 41747644

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Use the canonical Base deployment block.

This value is 41747644, but src/lib/deploy/LibRaindexDeploy.sol defines RAINDEX_START_BLOCK_BASE as 47387582, and test/lib/deploy/LibRaindexDeployNetworksJsonStartBlockBase.t.sol asserts those values are equal. The current change will fail that test and may trigger unnecessary historical indexing.

Proposed fix
-      "startBlock": 41747644
+      "startBlock": 47387582
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"startBlock": 41747644
"startBlock": 47387582
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@subgraph/networks.json` at line 17, Update the Base network’s startBlock in
subgraph/networks.json to match the canonical RAINDEX_START_BLOCK_BASE value
defined by LibRaindexDeploy and asserted by
LibRaindexDeployNetworksJsonStartBlockBase.t.sol, using 47387582.

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