Skip to content

Add support for new blockchain networks and update tier classifications#939

Open
DZakh wants to merge 4 commits intomainfrom
claude/enable-sei-contract-import-Pwiwo
Open

Add support for new blockchain networks and update tier classifications#939
DZakh wants to merge 4 commits intomainfrom
claude/enable-sei-contract-import-Pwiwo

Conversation

@DZakh
Copy link
Member

@DZakh DZakh commented Feb 6, 2026

Summary

This PR adds support for several new blockchain networks to the code generator and updates the network tier classifications for Hypersync integration.

Key Changes

  • New Networks Added:

    • Citrea (chain ID: 4114) - Bronze tier
    • Hoodi (chain ID: 560048) - Stone tier with explorer support
    • Injective (chain ID: 1776) - Bronze tier
    • Megaeth (chain ID: 4326) - Silver tier
    • Sei (chain ID: 1329) - Gold tier with explorer support
    • SeiTestnet (chain ID: 1328) - Stone tier
    • StatusSepolia (chain ID: 1660990954) - Stone tier
  • Network Attribute Updates:

    • Removed HypersyncNetwork from AuroraTurbo and MevCommit
    • Added NetworkWithExplorer to: Hoodi, Hyperliquid, Plasma, SonicTestnet
    • Removed HypersyncNetwork from MoonbaseAlpha (kept GraphNetwork and NetworkWithExplorer)
  • Tier Classification Updates:

    • Promoted Sei to Gold tier (with EthereumMainnet, Optimism, Monad, Gnosis, Base)
    • Promoted Megaeth to Silver tier (with Polygon, ArbitrumOne, Sonic)
    • Moved several networks to Bronze tier: Lukso, CitreaTestnet, Injective, Citrea
    • Reorganized Stone tier networks for better readability
  • Graph Network Support:

    • Updated MoonbaseAlpha to remove HypersyncNetwork while maintaining GraphNetwork support

Implementation Details

The changes maintain backward compatibility while expanding network coverage. All new networks are properly categorized with appropriate Hypersync and explorer support attributes based on their infrastructure capabilities.

https://claude.ai/code/session_0121BwrXN9GJMZzkccvriQzP

Summary by CodeRabbit

  • New Features
    • Added support for seven additional blockchains: Citrea, Hoodi, Sei, SeiTestnet, Injective, Megaeth, and StatusSepolia.
  • Documentation
    • Expanded command-line help to list new networks (including hoodi, sei, sei-testnet, and others) for the -b/--blockchain option.

Adds Sei as a HypersyncNetwork with NetworkWithExplorer subenum to enable
contract import functionality. Sets tier to Gold per the chains API.

https://claude.ai/code/session_0121BwrXN9GJMZzkccvriQzP
- Add missing chains: Citrea (4114), Hoodi (560048), Injective (1776),
  Megaeth (4326), SeiTestnet (1328), StatusSepolia (1660990954)
- Remove HypersyncNetwork from chains no longer in API: AuroraTurbo,
  MevCommit, MoonbaseAlpha
- Fix tier mismatches: CitreaTestnet and Lukso from Stone to Bronze

https://claude.ai/code/session_0121BwrXN9GJMZzkccvriQzP
Enable contract import for chains listed on Etherscan's supported
chains page that were missing NetworkWithExplorer: Hoodi, Hyperliquid,
Plasma, SeiTestnet, SonicTestnet.

https://claude.ai/code/session_0121BwrXN9GJMZzkccvriQzP
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 6, 2026

📝 Walkthrough

Walkthrough

Adds seven new Network enum variants and integrates them into HypersyncNetwork tiering, visibility, and reorg-depth mappings; also updates CLI help text to list several newly supported networks.

Changes

Cohort / File(s) Summary
Network enum & Hypersync classification
codegenerator/cli/src/config_parsing/chain_helpers.rs
Added Citrea, Hoodi, Sei, SeiTestnet, Injective, Megaeth, StatusSepolia enum variants. Updated HypersyncNetwork get_tier/visibility/reorg-depth match arms to include these networks across Gold/Silver/Bronze/Stone tiers and mapped reorg depth to None for new entries. Minor attribute-only change to MoonbaseAlpha.
CLI help text
codegenerator/cli/CommandLineHelp.md
Expanded the -b/--blockchain supported values in help text to include hoodi, hyperliquid, plasma, sei, sei-testnet, sonic, and sonic-testnet. No logic changes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • nikbhintade
  • JonoPrest

Poem

🐰 Seven new chains hop into view,
Citrea, Sei, Injective too,
Tiers assigned with gentle grace,
Moonbase tweaks keep steady pace,
Hop—our networks join the race! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: adding new blockchain networks (7 new variants) and updating tier classifications throughout the file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude/enable-sei-contract-import-Pwiwo

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 and usage tips.

@DZakh DZakh requested a review from JonoPrest February 6, 2026 11:06
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