Skip to content

feat: add Robinhood Chain (hoodeth) mainnet contract deployment config#356

Merged
yashvanthbl137-crypto merged 1 commit into
masterfrom
CGD-976-hoodeth
May 8, 2026
Merged

feat: add Robinhood Chain (hoodeth) mainnet contract deployment config#356
yashvanthbl137-crypto merged 1 commit into
masterfrom
CGD-976-hoodeth

Conversation

@yashvanthbl137-crypto
Copy link
Copy Markdown
Contributor

@yashvanthbl137-crypto yashvanthbl137-crypto commented May 7, 2026

Summary

  • Updates HOODETH chain ID from placeholder 999999 to correct mainnet value 4663 (Robinhood Chain, ArbOS 51)
  • Adds HOODETH deploy gas config: gasLimit: 50M, ForwarderV4/ForwarderFactoryV4
  • Updates hoodeth network in hardhat.config.ts with mainnet RPC, chainId, and Blockscout mainnet explorer URLs
  • Adds CHAIN_VERIFICATION_OVERRIDES in deployUtils.ts for hoodeth: 2 block confirmations and 2 verification retries — Robinhood Chain is a low-activity private chain with ~98 min average block time; the defaults (5 confirmations, 10 retries × 60s) would cause CI timeouts

Deployed Addresses (Mainnet: hoodeth — Robinhood Chain, Chain ID: 4663)

  • WalletSimple: 0xE39602d6D3570dE50721cb98C0f1813F956E35bB
  • WalletFactory: 0x86835565aD0aA35e83FEb4a0F6e4F43E6Ffa27b8
  • ForwarderV4: 0x51eF284caAE2269FB7f9b9e118147ECc221dC680
  • ForwarderFactoryV4: 0xDA4300c74F501058bA6B971f724BdC86846c42A7
  • Batcher: 0x3BC098a2EDE9835ed6f4271851b15f6a1B8C6249

deployment logs : https://docs.google.com/document/d/1hZWm1LRX0ObeZLU5v6yLu43RqiyusLjy-81zPa0lHpg/edit?usp=sharing

Gas Usage Analysis — Hoodeth Mainnet Deployment

Contract Gas Used Gas Limit Headroom
WalletSimple 2,822,165 50,000,000 17.7×
WalletFactory 376,918 50,000,000 132.7×
ForwarderV4 2,461,667 50,000,000 20.3×
ForwarderFactoryV4 402,013 50,000,000 124.4×

The configured gasLimit of 50M provides 17.7× headroom over the largest contract (WalletSimple at ~2.8M gas). This accounts for L1 data fee volatility on Arbitrum-based rollups, where the total gasUsed includes a variable L1 data posting component driven by Ethereum mainnet conditions.

Test plan

  • V4 contracts deployed and confirmed on chain at expected nonces (0-3) : transactions link
  • Batcher deployed and confirmed on chain : transactions link
  • Deploy script completes within CI time limits with 2 confirmations + 2 retries
  • No impact on existing chain deployments (all other chains use default 5 confirmations, 10 retries)

Ticket: CGD-976

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 7, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Robinhood Chain (hoodeth) mainnet support to the deployment/config tooling by updating the chain ID, Hardhat network + explorer settings, and tuning deployment/verification behavior for that chain’s characteristics.

Changes:

  • Updated CHAIN_IDS.HOODETH from a placeholder to the Robinhood Chain mainnet chain ID (4663).
  • Added hoodeth-specific deployment gas limit (50M) in getChainConfig.
  • Updated hardhat.config.ts hoodeth RPC + explorer URLs and introduced per-chain verification overrides (confirmation blocks / retries) for hoodeth.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
scripts/chainConfig.ts Adds HOODETH-specific gas limit and forwarder contract name selection.
hardhat.config.ts Updates hoodeth mainnet RPC configuration and Blockscout explorer endpoints.
deployUtils.ts Adds per-chain verification overrides (confirmations/retries) and wires them into waitAndVerify.
config/chainIds.ts Sets HOODETH mainnet chain ID to 4663.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread deployUtils.ts
Comment thread hardhat.config.ts
nvrakesh06
nvrakesh06 previously approved these changes May 7, 2026
@Venkat-Annavazzala
Copy link
Copy Markdown
Contributor

@claude

@yashvanthbl137-crypto yashvanthbl137-crypto merged commit 75fd540 into master May 8, 2026
4 checks passed
@yashvanthbl137-crypto yashvanthbl137-crypto deleted the CGD-976-hoodeth branch May 8, 2026 06: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.

4 participants