-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Closed
Copy link
Labels
T-bugType: bugType: bugT-needs-triageType: this issue needs to be labelledType: this issue needs to be labelled
Description
Component
Anvil
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
1.2.1-stable
What version of Foundryup are you on?
1.0.1
What command(s) is the bug in?
anvil --hardfork prague --block-time 10
Operating System
macOS (Apple Silicon)
Describe the bug
When I run anvil --hardfork prague --block-time 10 I'd expect to get Prague so I can test 7702 tx types for example.
Instead, I get Cancun, which makes sense as per:
foundry/crates/anvil/src/config.rs
Line 536 in 65650a6
| EthereumHardfork::Cancun.into() |
And also because
latest is the default option as seen in:foundry/crates/anvil/src/cmd.rs
Lines 82 to 83 in 65650a6
| /// Choose the hardfork by name, e.g. `cancun`, `shanghai`, `paris`, `london`, etc... | |
| /// [default: latest] |
This should be updated to deliver the latest hardfork when using --latest.
Metadata
Metadata
Assignees
Labels
T-bugType: bugType: bugT-needs-triageType: this issue needs to be labelledType: this issue needs to be labelled
Type
Projects
Status
Done