Skip to content

Commit 93e1f14

Browse files
pkieltykaclaude
andcommitted
ethrpc: add robinhood chains to the Networks registry
Adds robinhood (4663) and robinhood-testnet (46630) to ethrpc.Networks, which ethreceipts consults for NumBlocksToFinality when a caller does not set its own. NumBlocksToFinality 50 matches every arbitrum entry in this map (arbitrum, arbitrum-testnet, arbitrum-nova), which is the right reference since robinhood is an Arbitrum Orbit chain. Without an entry both chains fell back to DefaultNumBlocksToFinality of 40 -- workable, but implicit and inconsistent with the rest of the family. Note 50 blocks is ~5s at robinhood's 100ms block time, against ~12.5s for arbitrum at 250ms. Reorg depth is block-based, so matching the family's depth is the sensible reading, but the wall-clock window is correspondingly shorter. There is no ArbitrumChain field on the Network struct -- only OptimismChain -- so nothing else to set here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent f8e15a9 commit 93e1f14

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎ethrpc/networks.go‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,14 @@ var Networks = map[uint64]Network{
154154
NumBlocksToFinality: 50,
155155
OptimismChain: true,
156156
},
157+
4663: {
158+
Name: "robinhood",
159+
ChainID: 4663,
160+
NumBlocksToFinality: 50,
161+
},
162+
46630: {
163+
Name: "robinhood-testnet",
164+
ChainID: 46630,
165+
NumBlocksToFinality: 50,
166+
},
157167
}

0 commit comments

Comments
 (0)