mirror of https://github.com/ethereum/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.
lightclient
fa96718512
|
3 years ago | |
---|---|---|
.. | ||
alloc.json | 3 years ago | |
env.json | 3 years ago | |
exp_arrowglacier.json | 3 years ago | |
exp_london.json | 3 years ago | |
readme.md | 3 years ago | |
txs.json | 3 years ago |
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 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