nimbus-eth1/tests
Jordan Hrycaj 3198ad1bbd
Fix default pruning for ledger and update core db and ledger logging (#1861)
* Make sure that storage tries are not pruned (by default) on the new Ledger API

why:
  Pruning might kill some unwanted entries from storage tries ending up with an unstable database
  leading to crashes.

* Implement `CoreDb` and `LedgerRef` API tracing

details:
+ Locally enabled at compile time via constants `ProvideCoreDbLegacyAPI`
  and `EnableApiTracking` in either `base.nim` source
+ If enabled it can be selectively turned on/off via public switches in
  the `CoreDb` descriptor.

* Allow suppressing opportunistic `ifNecessaryGetXxx()` functions

why:
  Better troubleshooting when the system crashes (assertions will then
  most probably happen outside an `async` function.)
2023-10-25 15:03: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 Holesky testnet configuration 2023-10-25 14:06:36 +07:00
db Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01: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 Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
rpcclient reduce compiler warnings 2023-06-12 12:58:53 +07:00
test_aristo Core db update api and fix tracer methods (#1816) 2023-10-11 20:09:11 +01:00
test_beacon Beacon skeleton works with ttdPassed=true flag too (#1826) 2023-10-19 10:29:06 +07:00
test_clique Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
test_coredb Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_rocksdb_timing Core db update api and fix tracer methods (#1816) 2023-10-11 20:09:11 +01:00
test_sync_snap Core db update api and fix tracer methods (#1816) 2023-10-11 20:09:11 +01:00
test_txpool Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
README.md
all_tests.nim Fix test_blockchain_json and pyspec simulator for Cancun (#1805) 2023-10-05 10:04:12 +07:00
all_tests_macro.nim Nicer all_tests report (#1827) 2023-10-19 10:52:24 +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 Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07: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 Aristo db api extensions for use as core db backend (#1754) 2023-09-15 16:23:53 +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 Call processBeaconBlockRoot before processing txs(EIP-4788) (#1822) 2023-10-19 06:55:50 +07: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 Prepare state test and blockchain test for Cancun (#1772) 2023-09-25 06:53:20 +07:00
test_configuration.nim fix default --key-store location if --data-dir is custom 2022-12-22 11:17:04 +07:00
test_coredb.nim Fix default pruning for ledger and update core db and ledger logging (#1861) 2023-10-25 15:03:09 +01:00
test_custom_network.nim Fix ForkID calculation 2023-10-25 11:10:01 +07:00
test_difficulty.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
test_eip4844.nim EIP-4844: Fix excessBlobGas handling (#1771) 2023-09-24 22:25:41 +07:00
test_filters.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_forkid.nim Add Holesky testnet configuration 2023-10-25 14:06:36 +07: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 Fix ForkID calculation 2023-10-25 11:10:01 +07:00
test_genesis.nim Add Holesky testnet configuration 2023-10-25 14:06:36 +07: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 Refactor engine api and cleanup web3 types conversion 2023-08-30 10:42:46 +07: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 Implement EIP-7516: BLOBBASEFEE opcode (#1791) 2023-10-01 14:24:15 +07:00
test_op_memory.nim EIP-1153: Fix tload stack underflow bug 2023-09-21 16:25:48 +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 Bump stint to v2.0: new array backend (#1747) 2023-09-13 09:32:38 +07:00
test_precompiles.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
test_rocksdb_timing.nim Fudge persistent legacy hexary db edge case (#1817) 2023-10-12 21:10:04 +01:00
test_rpc.nim Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07: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 Core db update api and fix tracer methods (#1816) 2023-10-11 20:09:11 +01:00
test_tools_build.nim Only one place to declare gwei (#1802) 2023-10-04 10:47:18 +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 Change EthTime from std.Time to distinct uint64 (#1820) 2023-10-18 09:16:11 +07:00
test_txpool2.nim Fix TxPool when handling EIP-4844 blob tx (#1831) 2023-10-20 15:30:05 +07: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!