nimbus-eth1/tools/t8n/testdata/19
jangko a57471197f
update t8n tool testdata
2022-12-08 13:20:23 +07:00
..
alloc.json add test vector for transition (t8n) tool 2022-10-26 10:57:47 +07:00
env.json add test vector for transition (t8n) tool 2022-10-26 10:57:47 +07:00
exp_arrowglacier.json update t8n tool testdata 2022-12-08 13:20:23 +07:00
exp_grayglacier.json update t8n tool testdata 2022-12-08 13:20:23 +07:00
exp_london.json update t8n tool testdata 2022-12-08 13:20:23 +07:00
readme.md add test vector for transition (t8n) tool 2022-10-26 10:57:47 +07:00
txs.json add test vector for transition (t8n) tool 2022-10-26 10:57:47 +07:00

readme.md

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 GrayGlacier (Eip 5133).

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

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