Official Go implementation of the Ethereum protocol
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.
 
 
 
 
 
 
go-ethereum/cmd/evm/testdata/19
Marius van der Wijden d8f963811d
cmd, params: implement Gray Glacier hard-fork (EIP-5133) (#25088)
2 years ago
..
alloc.json cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) (#23810) 3 years ago
env.json cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) (#23810) 3 years ago
exp_arrowglacier.json cmd/evm: rename t8n result to match types.Header (ReceiptRoot->ReceiptsRoot) (#23924) 3 years ago
exp_grayglacier.json cmd, params: implement Gray Glacier hard-fork (EIP-5133) (#25088) 2 years ago
exp_london.json cmd/evm: rename t8n result to match types.Header (ReceiptRoot->ReceiptsRoot) (#23924) 3 years ago
readme.md cmd, params: implement Gray Glacier hard-fork (EIP-5133) (#25088) 2 years ago
txs.json cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) (#23810) 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 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