Skip to content

Add Ethereum and BSC to the subgraph network list - #2889

Open
Siddharth2207 wants to merge 1 commit into
mainfrom
add-ethereum-bsc-subgraph-networks
Open

Siddharth2207 wants to merge 1 commit into
mainfrom
add-ethereum-bsc-subgraph-networks

Conversation

@Siddharth2207

@Siddharth2207 Siddharth2207 commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add Ethereum (mainnet) and BSC to subgraph/networks.json with the deployed Raindex address and start blocks, so those chains can be built and deployed with graph --network.

Test plan

  • graph build --network mainnet and graph build --network bsc pick up the address and start blocks from networks.json
  • Confirm testNetworksJsonAddresses still matches RAINDEX_DEPLOYED_ADDRESS

Summary by CodeRabbit

  • New Features
    • Added Raindex network support for Ethereum mainnet and BSC.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: rainlanguage/raindex/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: e08155a2-36f3-41f4-8b73-56006afd607d

📥 Commits

Reviewing files that changed from the base of the PR and between d249071 and dff8651.

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

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


📝 Walkthrough

Walkthrough

Added Raindex network configuration for mainnet and BSC. Both entries use the same contract address and specify separate start blocks.

Changes

Network configuration

Layer / File(s) Summary
Add Raindex network entries
subgraph/networks.json
The configuration adds mainnet with start block 25818088 and BSC with start block 121104750. Both entries use contract address 0x37FC0EFec37D19f8A221aa4F8F7600C9ba2AcD20.

Priority: ⬇️ Low

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

Change: Feature

Merge Risk: ⚪ Minimal · up to dff86

No actionable issue is established for the new network entries. Confirming the on-chain deployment blocks remains a useful release check.

Architecture Summary

Architecture risk: 🔵 Low · up to dff86

The change affects 1 system.

Changed systems: subgraph

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — subgraph (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in subgraph/networks.json: Added the mainnet Raindex configuration with the shared contract address and start block 25818088.
  • observed — Modified behavior in subgraph/networks.json: Added the BSC Raindex configuration with the shared contract address and start block 121104750.
🚥 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 and concisely describes the main change: adding Ethereum and BSC to the subgraph network list.
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 💡 1
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR

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.

This branch has not been deployed

No deployments
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