nimbus-eth1/tests
Jacek Sieka 81e75622cf
storage: store root id together with vid, for better locality of refe… (#2449)
The state and account MPT:s currenty share key space in the database
based on that vertex id:s are assigned essentially randomly, which means
that when two adjacent slot values from the same contract are accessed,
they might reside at large distance from each other.

Here, we prefix each vertex id by its root causing them to be sorted
together thus bringing all data belonging to a particular contract
closer together - the same effect also happens for the main state MPT
whose nodes now end up clustered together more tightly.

In the future, the prefix given to the storage keys can also be used to
perform range operations such as reading all the storage at once and/or
deleting an account with a batch operation.

Notably, parts of the API already supported this rooting concept while
parts didn't - this PR makes the API consistent by always working with a
root+vid.
2024-07-04 15:46:52 +02:00
..
bootstrap config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
customgenesis Enable test_accounts_cache (#2373) 2024-06-17 14:19:12 +02:00
db Added support for namespaces to RocksDb kvstore. (#2066) 2024-03-12 11:04:46 +08:00
fixtures Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
graphql Workaround for 0 gas price estimation (#2180) 2024-05-28 13:36:38 +07:00
keystore implement more eth rpc and keystore management 2020-07-23 14:54:32 +07:00
merge reenable testEngineAPI in test_merge 2022-03-17 12:54:04 +07:00
replay rm PoW hash function and validation support (#2372) 2024-06-16 10:22:06 +07:00
rpc Cleanup stateless and block witness code. (#2295) 2024-06-08 15:05:00 +07:00
test_aristo storage: store root id together with vid, for better locality of refe… (#2449) 2024-07-04 15:46:52 +02:00
test_beacon Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_coredb Core db reorg (#2444) 2024-07-03 15:50:27 +00:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_txpool Enable test_txpool by disabling failing cases (#2421) 2024-06-28 11:53:25 +07:00
all_tests.nim Import forked_chain_test in all_tests (#2433) 2024-07-01 09:57:42 +07:00
all_tests_macro.nim Cache code and invalid jump destination tables (fixes #2268) (#2404) 2024-06-21 09:44:10 +02:00
asynctest.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
macro_assembler.nim Use `Hash256` directly for account path (#2439) 2024-07-03 10:14:26 +02:00
nim.cfg import: read from era files (#2254) 2024-05-31 09:13:56 +02:00
persistBlockTestGen.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_allowed_to_fail.nim ForkedChain implementation (#2405) 2024-06-26 07:27:48 +07:00
test_aristo.nim Aristo code cosmetics and tests update (#2434) 2024-07-01 10:59:18 +00:00
test_block_fixture.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_blockchain_json.nim Update storage tree admin (#2419) 2024-06-27 09:01:26 +00:00
test_config.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_configuration.nim Cleanup stateless and block witness code. (#2295) 2024-06-08 15:05:00 +07:00
test_coredb.nim Core db reorg (#2444) 2024-07-03 15:50:27 +00:00
test_difficulty.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_eip4844.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_evm_support.nim Combine smaller tests into bigger one (#2425) 2024-06-29 08:57:30 +07:00
test_filters.nim Bump nim-web3 and others 2024-01-14 10:41:23 +07:00
test_forked_chain.nim Add ForkedChainRef tests (#2430) 2024-06-30 14:40:14 +07:00
test_forkid.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_generalstate_json.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02:00
test_genesis.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_getproof_json.nim Remove AccountStateDB (#2368) 2024-06-16 10:21:02 +07:00
test_graphql.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_helpers.nim Cache code and invalid jump destination tables (fixes #2268) (#2404) 2024-06-21 09:44:10 +02:00
test_jwt_auth.nim enable JWT auth tests (#2312) 2024-06-07 09:01:45 +07:00
test_ledger.nim Combine smaller tests into bigger one (#2425) 2024-06-29 08:57:30 +07:00
test_merge.nim Culling legacy DB and accounts cache (#2197) 2024-05-20 10:17:51 +00:00
test_multi_keys.nim Cleanup stateless and block witness code. (#2295) 2024-06-08 15:05:00 +07:00
test_op_arith.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_bit.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_custom.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_env.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02:00
test_op_memory.nim Culling legacy DB and accounts cache (#2197) 2024-05-20 10:17:51 +00:00
test_op_misc.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_persistblock_json.nim Consolidate block type for block processing (#2325) 2024-06-09 16:32:20 +02:00
test_precompiles.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02:00
test_rpc.nim Use simpler schema when writing transactions, receipts, and withdrawals (#2420) 2024-06-29 12:43:17 +07:00
test_rpc_experimental_json.nim Consolidate block type for block processing (#2325) 2024-06-09 16:32:20 +02:00
test_rpc_getproofs_track_state_changes.nim Remove AccountStateDB (#2368) 2024-06-16 10:21:02 +07:00
test_tools_build.nim Add t8n debugging tool and fix EVM regression (#2386) 2024-06-19 08:58:08 +07:00
test_tracer_json.nim remove pPrf, fRpp (#2445) 2024-07-03 22:21:57 +02:00
test_transaction_json.nim Fix lowest-hanging fruit in VM (#2382) 2024-06-18 07:55:35 +07:00
test_txpool.nim Enable test_txpool by disabling failing cases (#2421) 2024-06-28 11:53:25 +07:00
test_txpool2.nim Use simpler schema when writing transactions, receipts, and withdrawals (#2420) 2024-06-29 12:43:17 +07:00
test_wire_protocol.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
tracerTestGen.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02:00