Component
Anvil
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (ce687fc 2023-06-15T00:05:25.914566000Z)
What command(s) is the bug in?
anvil -b 1 --block-base-fee-per-gas 0
Operating System
macOS (Apple Silicon)
Describe the bug
- Start a new anvil node with
anvil -b 1 --block-base-fee-per-gas 0.
- Run
cast block to confirm baseFeePerGas is 0
- Execute a bunch of transactions (in my case deploying a MUD app, but shouldn't be specific to the type of transactions)
- Run
cast block again, baseFeePerGas is now 1
This is problematic for local environments where transactions are executed from accounts with no balance.
Note: this wasn't the case yet with this version:
