nimbus-eth1/fluffy/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
..
beacon_light_client_tests Add new portal beacon chain lc content encoding tests (#1636) 2023-07-08 17:01:33 +02:00
blocks Add verification of block data by use of accumulator (#1178) 2022-08-01 21:00:21 +02:00
custom_genesis Add a first, simple, content network test (#760) 2021-07-15 15:12:33 +02:00
portal_spec_tests/mainnet Add new portal beacon chain lc content encoding tests (#1636) 2023-07-08 17:01:33 +02:00
all_fluffy_tests.nim Compile Fluffy tests and fluffy beacon LC tests together (#1633) 2023-07-06 18:06:44 +02:00
test_accumulator.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_beacon_chain_block_proof.nim Add EL block proofs verifable from historical_summaries (#1588) 2023-05-30 07:02:39 +02:00
test_beacon_chain_block_proof_capella.nim Add EL block proofs verifable from historical_summaries (#1588) 2023-05-30 07:02:39 +02:00
test_beacon_chain_historical_roots.nim Add historical_roots with proof + test (#1579) 2023-05-11 19:08:34 +02:00
test_beacon_chain_historical_summaries.nim Add historical_roots with proof + test (#1579) 2023-05-11 19:08:34 +02:00
test_content_db.nim StyleCheck fixes for Fluffy and lcproxy (#1220) 2022-09-10 21:00:27 +02:00
test_discovery_rpc.nim Fix Portal Hive fails by correcting Portal history JSON RPC API (#1365) 2022-12-13 19:22:36 +01:00
test_helpers.nim Add headers with proof content type and use it for verification (#1281) 2022-11-04 09:27:01 +01:00
test_history_network.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_history_util.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_portal_wire_protocol.nim Refactor and clean-up of history network and eth rpc (#1357) 2022-12-09 17:59:36 +01:00
test_state_distance.nim StyleCheck fixes for Fluffy and lcproxy (#1220) 2022-09-10 21:00:27 +02:00
test_state_network.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00