plugeth/cmd/evm/internal/t8ntool
rjl493456442 6d2aeb43d5
cmd, core/state, eth, tests, trie: improve state reader (#27428)
The state availability is checked during the creation of a state reader.

-    In hash-based database, if the specified root node does not exist on disk disk, then
    the state reader won't be created and an error will be returned.

-    In path-based database, if the specified state layer is not available, then the
    state reader won't be created and an error will be returned.

This change also contains a stricter semantics regarding the `Commit` operation: once it has been performed, the trie is no longer usable, and certain operations will return an error.
2023-06-20 15:31:45 -04:00
..
block.go cmd: use errrors.New instead of empty fmt.Errorf (#27329) 2023-05-24 12:21:29 +02:00
execution.go cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
flags.go all: remove ethash pow, only retain shims needed for consensus and tests (#27178) 2023-05-03 12:58:39 +03:00
gen_header.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
gen_stenv.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
transaction.go all: tie timestamp based forks to the passage of London (#27279) 2023-05-19 11:27:19 +03:00
transition.go core/state: do not ignore null addr while iterative dump (#27320) 2023-05-23 06:10:26 -04:00
utils.go cmd: migrate to urfave/cli/v2 (#24751) 2022-06-27 18:22:36 +02:00