bsc/tests
rjl493456442 59f7b289c3
cmd, core, eth, graphql, trie: no persisted clean trie cache file (#27525)
The clean trie cache is persisted periodically, therefore Geth can
quickly warmup the cache in next restart.

However it will reduce the robustness of system. The assumption is
held in Geth that if the parent trie node is present, then the entire
sub-trie associated with the parent are all prensent.

Imagine the scenario that Geth rewinds itself to a past block and
restart, but Geth finds the root node of "future state" in clean
cache then regard this state is present in disk, while is not in fact.

Another example is offline pruning tool. Whenever an offline pruning
is performed, the clean cache file has to be removed to aviod hitting
the root node of "deleted states" in clean cache.

All in all, compare with the minor performance gain, system robustness
is something we care more.
2023-07-04 10:21:06 +03:00
..
evm-benchmarks@d8b88f4046 tests: update evm-benchmarks (#26255) 2022-11-28 11:13:41 +01:00
fuzzers cmd, core, eth, graphql, trie: no persisted clean trie cache file (#27525) 2023-07-04 10:21:06 +03: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