plugeth/cmd/evm/testdata
Martin Holst Swende 84c51bc5ec
cmd/evm: add difficulty calculation to t8n tool (#23353)
This PR adds functionality to the evm t8n to calculate ethash difficulty. If the caller does not provide a currentDifficulty, but instead provides the parentTimestamp (well, semi-optional, will default to 0 if not given), and parentDifficulty, we can calculate it for him.

The caller can also provide a parentUncleHash. In most, but not all cases, the parent uncle hash also affects the formula. If no such hash is provided (or, if the empty all-zero hash is provided), it's assumed that there were no uncles.
2021-08-25 15:04:26 +02:00
..
1 cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +02:00
2 cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +02:00
3 cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +02:00
4 cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +02:00
5 cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +02:00
7 cmd/evm: add state transition tool for testing (#20958) 2020-06-30 10:12:51 +02:00
8 all: make logs a bit easier on the eye to digest (#22665) 2021-04-15 20:35:00 +03:00
9 all: rename internal 1559 gas fields, add support for graphql (#23010) 2021-06-08 12:05:41 +02:00
10 all: rename internal 1559 gas fields, add support for graphql (#23010) 2021-06-08 12:05:41 +02:00
11 all: implement EIP-1559 (#22837) 2021-05-17 15:13:22 +02:00
12 core: fix pre-check for account balance under EIP-1559 (#23244) 2021-07-22 15:39:40 +02:00
13 cmd/evm: implement input txs via rlp in t8n tool (#23138) 2021-08-07 23:04:34 +02:00
14 cmd/evm: add difficulty calculation to t8n tool (#23353) 2021-08-25 15:04:26 +02:00