plugeth/tests
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
..
evm-benchmarks@d8b88f4046 tests: update evm-benchmarks (#26255) 2022-11-28 11:13:41 +01:00
fuzzers cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
solidity all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
testdata@bac70c50a5 tests: update (#26548) 2023-02-06 14:52:51 -05:00
block_test_util.go cmd/evm: make evm blocktest output logs if so instructed (#27396) 2023-06-06 04:27:40 -04:00
block_test.go cmd/evm: make evm blocktest output logs if so instructed (#27396) 2023-06-06 04:27:40 -04:00
difficulty_test_util.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
difficulty_test.go params: remove EIP150Hash from chainconfig (#27087) 2023-04-18 03:49:09 -04:00
gen_btheader.go tests: update (#26548) 2023-02-06 14:52:51 -05:00
gen_difficultytest.go all: simplify timestamps to uint64 (#19372) 2019-04-02 23:28:48 +03:00
gen_stenv.go build: add imports for go generate tools (#24682) 2022-04-12 20:24:02 +02:00
gen_sttransaction.go tests: update for London (#22976) 2021-06-07 14:37:56 +02:00
init_test.go internal,tests: replace noarg fmt.Errorf with errors.New (#27335) 2023-05-25 02:54:28 -04:00
init.go tests: define MuirGlacier fork (#26856) 2023-03-10 15:47:05 -05:00
rlp_test_util.go internal,tests: replace noarg fmt.Errorf with errors.New (#27335) 2023-05-25 02:54:28 -04:00
rlp_test.go tests: get test name from testing.T (#22941) 2021-05-25 22:47:14 +02:00
state_test_util.go cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
state_test.go all: remove debug-field from vm config (#27048) 2023-04-04 09:50:13 -04:00
transaction_test_util.go core/vm: implement EIP-3860: Limit and meter initcode (#23847) 2023-01-11 04:05:47 -05:00
transaction_test.go tests: get test name from testing.T (#22941) 2021-05-25 22:47:14 +02:00