nimbus-eth1/tests
Jordan Hrycaj 61bbf40014
Update storage tree admin (#2419)
* Tighten `CoreDb` API for accounts

why:
  Apart from cruft, the way to fetch the accounts state root via a
  `CoreDbColRef` record was unnecessarily complicated.

* Extend `CoreDb` API for accounts to cover storage tries

why:
  In future, this will make the notion of column objects obsolete. Storage
  trees will then be indexed by the account address rather than the vertex
  ID equivalent like a `CoreDbColRef`.

* Apply new/extended accounts API to ledger and tests

details:
  This makes the `distinct_ledger` module obsolete

* Remove column object constructors

why:
  They were needed as an abstraction of MPT sub-trees including storage
  trees. Now, storage trees are handled by the account (e.g. via address)
  they belong to and all other trees can be identified by a constant well
  known vertex ID. So there is no need for column objects anymore.

  Still there are some left-over column object methods wnich will be
  removed next.

* Remove `serialise()` and `PayloadRef` from default Aristo API

why:
  Not needed. `PayloadRef` was used for unstructured/unknown payload
  formats (account or blob) and `serialise()` was used for decodng
  `PayloadRef`. Now it is known in advance what the payload looks
  like.

* Added query function `hasStorageData()` whether a storage area exists

why:
  Useful for supporting `slotStateEmpty()` of the `CoreDb` API

* In the `Ledger` replace `storage.stateEmpty()` by 	`slotStateEmpty()`

* On Aristo, hide the storage root/vertex ID in the `PayloadRef`

why:
  The storage vertex ID is fully controlled by Aristo while the
  `AristoAccount` object is controlled by the application. With the
  storage root part of the `AristoAccount` object, there was a useless
  administrative burden to keep that storage root field up to date.

* Remove cruft, update comments etc.

* Update changed MPT access paradigms

why:
  Fixes verified proxy tests

* Fluffy cosmetics
2024-06-27 09:01:26 +00:00
..
bootstrap
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
merge
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 Update storage tree admin (#2419) 2024-06-27 09:01:26 +00:00
test_beacon Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_coredb Coeredb related clean up and maint fixes (#2360) 2024-06-14 11:19:48 +00:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_txpool Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
README.md
all_tests.nim ForkedChain become ForkedChainRef (#2417) 2024-06-27 12:54:52 +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
evm_tests.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
macro_assembler.nim Update storage tree admin (#2419) 2024-06-27 09:01:26 +00: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 use rocksdb cf instead of key pfx (#2332) 2024-06-10 12:04:22 +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_code_stream.nim Cache code and invalid jump destination tables (fixes #2268) (#2404) 2024-06-21 09:44:10 +02: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 Coeredb related clean up and maint fixes (#2360) 2024-06-14 11:19:48 +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_filters.nim Bump nim-web3 and others 2024-01-14 10:41:23 +07:00
test_forkid.nim Bump nim-eth, nim-web3, nimbus-eth2 (#2344) 2024-06-14 14:31:08 +07:00
test_gas_meter.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02: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 Update storage tree admin (#2419) 2024-06-27 09:01:26 +00:00
test_memory.nim Fix lowest-hanging fruit in VM (#2382) 2024-06-18 07:55:35 +07:00
test_merge.nim Culling legacy DB and accounts cache (#2197) 2024-05-20 10:17:51 +00:00
test_misc.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02: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_overflow.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02: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 Update storage tree admin (#2419) 2024-06-27 09:01:26 +00: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_stack.nim Remove exceptions from EVM (#2314) 2024-06-07 15:24:32 +07:00
test_state_db.nim avoid initTable (#2328) 2024-06-10 11:05:30 +02: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 Update storage tree admin (#2419) 2024-06-27 09:01:26 +00:00
test_transaction_json.nim Fix lowest-hanging fruit in VM (#2382) 2024-06-18 07:55:35 +07:00
test_txpool.nim Remove EVM indirect imports and unused EVM errors (#2370) 2024-06-17 09:56:39 +02:00
test_txpool2.nim Fix lowest-hanging fruit in VM (#2382) 2024-06-18 07:55:35 +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

README.md

tests

TODO: more GeneralStateTest fixtures!