When forking L2s with --chain-id
specified, the wrong block number is used
#7260
Closed
2 tasks done
Labels
T-bug
Type: bug
Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (551bcb5 2024-02-28T07:40:42.782478000Z)
What command(s) is the bug in?
anvil \ --chain-id 42161 \ --fork-url [arbitrum]
Operating System
macOS (Apple Silicon)
Describe the bug
When forking alchemy with and passing the
--chain-id
param (which I now realise I don't need to do), anvil passes the l1 block numbers to alchemy instead of l2.The text was updated successfully, but these errors were encountered: