221e6c9e2f
* 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) |
||
---|---|---|
.. | ||
amphora | ||
bootstrap | ||
customgenesis | ||
db | ||
does-not-compile | ||
fixtures | ||
graphql | ||
keystore | ||
merge | ||
replay | ||
rpcclient | ||
test_aristo | ||
test_clique | ||
test_jwt_auth | ||
test_rocksdb_timing | ||
test_sync_snap | ||
test_txpool | ||
README.md | ||
all_tests.nim | ||
asynctest.nim | ||
evm_tests.nim | ||
macro_assembler.nim | ||
nim.cfg | ||
persistBlockTestGen.nim | ||
test_accounts_cache.nim | ||
test_allowed_to_fail.nim | ||
test_aristo.nim | ||
test_block_fixture.nim | ||
test_blockchain_json.nim | ||
test_clique.nim | ||
test_code_stream.nim | ||
test_config.nim | ||
test_configuration.nim | ||
test_custom_network.nim | ||
test_difficulty.nim | ||
test_eip4844.nim | ||
test_filters.nim | ||
test_forkid.nim | ||
test_gas_meter.nim | ||
test_generalstate_json.nim | ||
test_genesis.nim | ||
test_graphql.nim | ||
test_helpers.nim | ||
test_jwt_auth.nim | ||
test_keyed_queue_rlp.nim | ||
test_memory.nim | ||
test_merge.nim | ||
test_misc.nim | ||
test_op_arith.nim | ||
test_op_bit.nim | ||
test_op_custom.nim | ||
test_op_env.nim | ||
test_op_memory.nim | ||
test_op_misc.nim | ||
test_persistblock_json.nim | ||
test_pow.nim | ||
test_precompiles.nim | ||
test_rocksdb_timing.nim | ||
test_rpc.nim | ||
test_stack.nim | ||
test_state_db.nim | ||
test_sync_snap.nim | ||
test_tools_build.nim | ||
test_tracer_json.nim | ||
test_transaction_json.nim | ||
test_txpool.nim | ||
test_txpool2.nim | ||
test_wire_protocol.nim | ||
tracerTestGen.nim |
README.md
tests
TODO: more GeneralStateTest fixtures!