Open
Description
Describe the bug
The cli fails to properly support theHoodi
network for the rewards claim operation, despite support for Hoodi
being added in a previous pr #322
To Reproduce
Run
eigenlayer rewards claim \
--network hoodi \
--eth-rpc-url https://ethereum-hoodi-rpc.publicnode.com \
--earner-address 0x111116fe4f8c2f83e3eb2318f090557b7cd0bf76
Response:
failed to read and validate claim config: chain ID -1 not supported
Expected behavior
The CLI should recognise the Hoodi
network and successfully process the rewards claim request for the specified earner address
Screenshots
OS details
MacOs
eigenlayer v0.13.0
Additional context
The issue appears to be related to incompletehoodi
support in the network handling code. The fix might be as simple as updating the NetworkNameToChainId
and ChainIdToNetworkName
functions.