nimbus-eth1/tests
Jordan Hrycaj 221e6c9e2f
Unified database frontend integration (#1670)
* Nimbus folder environment update

details:
* Integrated `CoreDbRef` for the sources in the `nimbus` sub-folder.
* The `nimbus` program does not compile yet as it needs the updates
  in the parallel `stateless` sub-folder.

* Stateless environment update

details:
* Integrated `CoreDbRef` for the sources in the `stateless` sub-folder.
* The `nimbus` program compiles now.

* Premix environment update

details:
* Integrated `CoreDbRef` for the sources in the `premix` sub-folder.

* Fluffy environment update

details:
* Integrated `CoreDbRef` for the sources in the `fluffy` sub-folder.

* Tools environment update

details:
* Integrated `CoreDbRef` for the sources in the `tools` sub-folder.

* Nodocker environment update

details:
* Integrated `CoreDbRef` for the sources in the
  `hive_integration/nodocker` sub-folder.

* Tests environment update

details:
* Integrated `CoreDbRef` for the sources in the `tests` sub-folder.
* The unit tests compile and run cleanly now.

* Generalise `CoreDbRef` to any `select_backend` supported database

why:
  Generalisation was just missed due to overcoming some compiler oddity
  which was tied to rocksdb for testing.

* Suppress compiler warning for `newChainDB()`

why:
  Warning was added to this function which must be wrapped so that
  any `CatchableError` is re-raised as `Defect`.

* Split off persistent `CoreDbRef` constructor into separate file

why:
  This allows to compile a memory only database version without linking
  the backend library.

* Use memory `CoreDbRef` database by default

detail:
 Persistent DB constructor needs to import `db/core_db/persistent

why:
 Most tests use memory DB anyway. This avoids linking `-lrocksdb` or
 any other backend by default.

* fix `toLegacyBackend()` availability check

why:
  got garbled after memory/persistent split.

* Clarify raw access to MPT for snap sync handler

why:
  Logically, `kvt` is not the raw access for the hexary trie (although
  this holds for the legacy database)
2023-08-04 12:10:09 +01: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 beacon sync skeleton test 2022-09-17 09:08:55 +07:00
db Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
does-not-compile Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
fixtures fix slow operations in evm 2023-08-01 16:05:39 +07:00
graphql graphql: add Shanghai and Cancun fields 2023-07-29 20:16:03 +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 Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
rpcclient reduce compiler warnings 2023-06-12 12:58:53 +07:00
test_aristo Aristo db traversal helpers (#1638) 2023-07-13 00:03:14 +01:00
test_clique Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_rocksdb_timing Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_sync_snap Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_txpool Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
README.md integrate GeneralStateTest runner into CI with 775 running tests (#153) 2018-09-19 16:46:14 +00:00
all_tests.nim implementation of EIP-4844: Shard Blob Transactions (#1440) 2023-06-24 20:56:44 +07:00
asynctest.nim replace all unittest usage with unittest2 2021-06-21 20:30:01 +07:00
evm_tests.nim Recreating some of the old stateless code that had bitrotted. (#1493) 2023-03-10 17:16:42 -05:00
macro_assembler.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
nim.cfg unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
persistBlockTestGen.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_accounts_cache.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_allowed_to_fail.nim Tests: Add loopMul.json and loopExp.json to skipped, slow tests 2021-08-03 15:03:05 +01:00
test_aristo.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_block_fixture.nim eth: adapt to smaller eth_types (#1210) 2022-09-03 20:15:35 +02:00
test_blockchain_json.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_clique.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_code_stream.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_config.nim align accounts cache with EIP158/161 2023-03-18 18:13:06 +07:00
test_configuration.nim fix default --key-store location if --data-dir is custom 2022-12-22 11:17:04 +07:00
test_custom_network.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_difficulty.nim fix difficulty test 2023-05-23 11:36:20 +03:00
test_eip4844.nim implementation of EIP-4844: Shard Blob Transactions (#1440) 2023-06-24 20:56:44 +07:00
test_filters.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_forkid.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_gas_meter.nim merge vm_memory, vm_interpreter, and vm_utils_numeric => vm_internals 2021-03-31 18:15:27 +01:00
test_generalstate_json.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_genesis.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_graphql.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_helpers.nim refactor touched accounts, selfdestruct, and log 2023-03-21 08:14:06 +07:00
test_jwt_auth.nim Silence compiler gossip after nim upgrade cont1 (#1455) 2023-01-31 01:32:17 +00:00
test_keyed_queue_rlp.nim Bump nim-eth and remove unneeded Defect raises (#1575) 2023-05-10 18:04:35 +02:00
test_memory.nim Revert "Some work on speculative execution (#1552)" (#1561) 2023-04-24 16:59:38 -04:00
test_merge.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_misc.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_op_arith.nim fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
test_op_bit.nim fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
test_op_custom.nim fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
test_op_env.nim implementation of EIP-4844: Shard Blob Transactions (#1440) 2023-06-24 20:56:44 +07:00
test_op_memory.nim EIP-5656: MCOPY instruction 2023-06-26 16:58:59 +07:00
test_op_misc.nim fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
test_persistblock_json.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_pow.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_precompiles.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_rocksdb_timing.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_rpc.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_stack.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_state_db.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_sync_snap.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_tools_build.nim fix rpc_sim receipt unmarshalling 2023-06-25 13:52:31 +07:00
test_tracer_json.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_transaction_json.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_txpool.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_txpool2.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_wire_protocol.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00
tracerTestGen.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00

README.md

tests

TODO: more GeneralStateTest fixtures!