erigon-pulse/cmd/evm/testdata/19
2023-05-05 09:16:13 +07:00
..
alloc.json evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
env.json evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00
exp_arrowglacier.json fix devel evm tests (#7444) 2023-05-05 09:16:13 +07:00
exp_london.json fix devel evm tests (#7444) 2023-05-05 09:16:13 +07:00
readme.md fix devel evm tests (#7444) 2023-05-05 09:16:13 +07:00
txs.json evm t8n to use ExecuteBlockEphemerally api (#4642) 2022-07-07 12:47:00 +01:00

Difficulty calculation

This test shows how the evm t8n can be used to calculate the (ethash) difficulty, if none is provided by the caller, this time on ArrowGlacier (Eip 4345).

Calculating it (with an empty set of txs) using ArrowGlacier rules (and no provided unclehash for the parent block):

[user@work evm]$ ./evm t8n --input.alloc=./testdata/14/alloc.json --input.txs=./testdata/14/txs.json --input.env=./testdata/14/env.json --output.result=stdout --state.fork=ArrowGlacier