Anvil eth_getBlockByNumber
returns incorrect block number for Arbitrum chain ID with no forking
#9143
Closed
2 tasks done
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
anvil 0.2.0 (a8c3e9c 2024-10-19T00:20:41.820222000Z)
What command(s) is the bug in?
anvil --prune-history 100 --transaction-block-keeper 10 --steps-tracing --silent --port 63758 --chain-id 42161
Operating System
None
Describe the bug
Anvil configured with chainId
42161
with NO forking returns incorrect block number ineth_getBlockByNumber
.Relevant part of JSON-RPC communication:
Note that block with number
1
is requested, correct data are returned, except for"number": "0x2"
.Most likely introduced in #8542.
The text was updated successfully, but these errors were encountered: