Skip to content

When forking L2s with --chain-id specified, the wrong block number is used #7260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
gpxl-dev opened this issue Feb 28, 2024 · 1 comment
Closed
2 tasks done
Labels
T-bug Type: bug

Comments

@gpxl-dev
Copy link

Component

Anvil

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

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.

@gpxl-dev gpxl-dev added the T-bug Type: bug label Feb 28, 2024
@mattsse
Copy link
Member

mattsse commented Feb 28, 2024

dup #6749

@mattsse mattsse closed this as completed Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
None yet
Development

No branches or pull requests

2 participants