go-pulse/cmd/evm/testdata/11
Bret Palsson f8bcf4eba5 Merge go-ethereum v1.10.8
Add debug build to make and docker
2021-09-25 07:30:37 -07:00
..
alloc.json Merge go-ethereum v1.10.8 2021-09-25 07:30:37 -07:00
env.json Merge go-ethereum v1.10.8 2021-09-25 07:30:37 -07:00
readme.md Merge go-ethereum v1.10.8 2021-09-25 07:30:37 -07:00
txs.json Merge go-ethereum v1.10.8 2021-09-25 07:30:37 -07:00

Test missing basefee

In this test, the currentBaseFee is missing from the env portion. On a live blockchain, the basefee is present in the header, and verified as part of header validation.

In evm t8n, we don't have blocks, so it needs to be added in the envinstead.

When it's missing, an error is expected.

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
ERROR(3): EIP-1559 config but missing 'currentBaseFee' in env section