forked from cerc-io/plugeth
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.
|
||
|---|---|---|
| .. | ||
| evm-benchmarks@d8b88f4046 | ||
| fuzzers | ||
| solidity | ||
| testdata@bac70c50a5 | ||
| block_test_util.go | ||
| block_test.go | ||
| difficulty_test_util.go | ||
| difficulty_test.go | ||
| gen_btheader.go | ||
| gen_difficultytest.go | ||
| gen_stenv.go | ||
| gen_sttransaction.go | ||
| init_test.go | ||
| init.go | ||
| rlp_test_util.go | ||
| rlp_test.go | ||
| state_test_util.go | ||
| state_test.go | ||
| transaction_test_util.go | ||
| transaction_test.go | ||