nimbus-eth1/tests
Jordan Hrycaj c47f021596
Core db and aristo updates for destructor and tx logic (#1894)
* Disable `TransactionID` related functions from `state_db.nim`

why:
  Functions `getCommittedStorage()` and `updateOriginalRoot()` from
  the `state_db` module are nowhere used. The emulation of a legacy
  `TransactionID` type functionality is administratively expensive to
  provide by `Aristo` (the legacy DB version is only partially
  implemented, anyway).

  As there is no other place where `TransactionID`s are used, they will
  not be provided by the `Aristo` variant of the `CoreDb`. For the
  legacy DB API, nothing will change.

* Fix copyright headers in source code

* Get rid of compiler warning

* Update Aristo code, remove unused `merge()` variant, export `hashify()`

why:
  Adapt to upcoming `CoreDb` wrapper

* Remove synced tx feature from `Aristo`

why:
+ This feature allowed to synchronise transaction methods like begin,
  commit, and rollback for a group of descriptors.
+ The feature is over engineered and not needed for `CoreDb`, neither
  is it complete (some convergence features missing.)

* Add debugging helpers to `Kvt`

also:
  Update database iterator, add count variable yield argument similar
  to `Aristo`.

* Provide optional destructors for `CoreDb` API

why;
  For the upcoming Aristo wrapper, this allows to control when certain
  smart destruction and update can take place. The auto destructor works
  fine in general when the storage/cache strategy is known and acceptable
  when creating descriptors.

* Add update option for `CoreDb` API function `hash()`

why;
  The hash function is typically used to get the state root of the MPT.
  Due to lazy hashing, this might be not available on the `Aristo` DB.
  So the `update` function asks for re-hashing the gurrent state changes
  if needed.

* Update API tracking log mode: `info` => `debug

* Use shared `Kvt` descriptor in new Ledger API

why:
  No need to create a new descriptor all the time
2023-11-16 19:35:03 +00:00
..
amphora Migrate to Engine API spec version v1.0.0-alpha.5; More progress towards working M1 2022-01-25 12:52:50 +02:00
bootstrap config: fix new config based on input from jamie and zahary 2021-09-18 17:34:51 +07:00
customgenesis Add Holesky testnet configuration 2023-10-25 14:06:36 +07:00
db Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
fixtures Bump eth-tests: Refill tests with Cancun spec 2023-10-21 20:11:19 +07:00
graphql Fix TxPool when handling EIP-4844 blob tx (#1831) 2023-10-20 15:30:05 +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 Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
rpcclient Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_aristo Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_beacon Beacon skeleton works with ttdPassed=true flag too (#1826) 2023-10-19 10:29:06 +07:00
test_clique Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_coredb Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_rocksdb_timing Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_sync_snap Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_txpool Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
README.md integrate GeneralStateTest runner into CI with 775 running tests (#153) 2018-09-19 16:46:14 +00:00
all_tests.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
all_tests_macro.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00: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 Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
nim.cfg Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
persistBlockTestGen.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_accounts_cache.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_allowed_to_fail.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_aristo.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +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 Call processBeaconBlockRoot before processing txs(EIP-4788) (#1822) 2023-10-19 06:55:50 +07:00
test_clique.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_code_stream.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_config.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_configuration.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_coredb.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_custom_network.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_difficulty.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_eip4844.nim EIP-4844: Fix excessBlobGas handling (#1771) 2023-09-24 22:25:41 +07:00
test_filters.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_forkid.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_gas_meter.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_generalstate_json.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_genesis.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_graphql.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_helpers.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_jwt_auth.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_keyed_queue_rlp.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_memory.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_merge.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_misc.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_op_arith.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_op_bit.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_op_custom.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_op_env.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_op_memory.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_op_misc.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_persistblock_json.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_pow.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_precompiles.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_rocksdb_timing.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_rpc.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
test_stack.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_state_db.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_sync_snap.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_tools_build.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_tracer_json.nim Core db and aristo updates for destructor and tx logic (#1894) 2023-11-16 19:35:03 +00:00
test_transaction_json.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_txpool.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_txpool2.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_wire_protocol.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
tracerTestGen.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00

README.md

tests

TODO: more GeneralStateTest fixtures!