github.com/codysnider/go-ethereum@v1.10.18-0.20220420071915-14f4ae99222a/cmd/evm/testdata/11/readme.md (about) 1 ## Test missing basefee 2 3 In this test, the `currentBaseFee` is missing from the env portion. 4 On a live blockchain, the basefee is present in the header, and verified as part of header validation. 5 6 In `evm t8n`, we don't have blocks, so it needs to be added in the `env`instead. 7 8 When it's missing, an error is expected. 9 10 ``` 11 dir=./testdata/11 && ./evm t8n --state.fork=London --input.alloc=$dir/alloc.json --input.txs=$dir/txs.json --input.env=$dir/env.json --output.alloc=stdout --output.result=stdout 2>&1>/dev/null 12 ERROR(3): EIP-1559 config but missing 'currentBaseFee' in env section 13 ```