Martin Holst Swende
5157d4540a
cmd/evm: make evm t8n handle post-merge transitions ( #24546 )
...
This adds the ability to run --state.fork=Merged, and have post-merge rules apply. When doing so, it also requires the input env to contain currentRandom, and enforces the currentDifficulty to be omitted or zero.
3 years ago
lightclient
23f69c6db0
cmd/evm: add support for signing transactions in the unprotected format ( #23937 )
...
* cmd/evm: add support for signing transactions in the unprotected format
* cmd/evm: simplify signing of unprotected txs
3 years ago
lightclient
441c7f2b0f
cmd/evm: add b11r tool ( #23843 )
...
evm block-builder (a.k.a b11r) is a utility to help assemble blocks, for use during the test-creation process.
3 years ago
Martin Holst Swende
32150f8aa9
cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) ( #23810 )
...
This PR adds support for ArrowGlacier, as defined by
https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md
https://eips.ethereum.org/EIPS/eip-4345
> Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number.
This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.
3 years ago
Martin Holst Swende
52c02ccb1f
cmd/evm: handle rlp errors in t9n ( #23771 )
...
* cmd/evm: handle rlp errors in t9n
* cmd/evm/testdata: fix readme
3 years ago
Martin Holst Swende
84d8eb2ca8
cmd/evm: add 256-bit field validations on transactions (t9n) ( #23743 )
...
* cmd/evm: add 256-bit field validations on transactions (t9n)
* cmd/evm: validate gas*gasPrice, return intrinsic gas usage
* cmd/evm: address review comment
3 years ago
Martin Holst Swende
64da037e99
cmd/evm: stricter transaction validation ( #23694 )
...
* cmd/evm: t9n: validate transaction intrinsic gas
* cmd/evm: t9n: stricter tx validation
3 years ago
Martin Holst Swende
babe9b993e
cmd/evm: transaction validation tool ( #23494 )
...
* cmd/evm: transaction validation tool
* cmd/evm: add hash to t9n tool
* cmd/evm: lint nits
* cmd/evm: nitpicks
3 years ago
Martin Holst Swende
4d88974864
cmd/evm: add tests for evm t8n ( #23507 )
3 years ago