forked from mirror/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Holst Swende
94451c2788
|
4 years ago | |
---|---|---|
.. | ||
alloc.json | 4 years ago | |
env.json | 4 years ago | |
readme.md | 4 years ago | |
txs.json | 4 years ago |
readme.md
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 env
instead.
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