nimbus-eth1/tests
Jordan Hrycaj 143f2e99f5
Core db+aristo fixes and tx handling updates (#2164)
* Aristo: Rename journal related sources and functions

why:
  Previously, the naming was hinged on the phrases `fifo`, `filter` etc.
  which reflect the inner workings of cascaded filters. This was
  unfortunate for reading/understanding the source code for actions where
  the focus is the journal as a whole.

* Aristo: Fix buffer overflow (path length truncating error)

* Aristo: Tighten `hikeUp()` stop check, update error code

why:
  Detect dangling vertex links. These are legit with `snap` sync
  processing but not with regular processing.

* Aristo: Raise assert in regular mode `merge()` at a dangling link/edge

why:
  With `snap` sync processing, partial trees are ok and can be amended.
  Not so in regular mode.

  Previously there was only a debug message when a non-legit dangling edge
  was encountered.

* Aristo: Make sure that vertices are copied before modification

why:
  Otherwise vertices from lower layers might also be modified

* Aristo: Fix relaxed mode for validity checker `check()`

* Remove cruft

* Aristo: Update API for transaction handling

details:
+ Split `aristo_tx.nim` into sub-modules
+ Split `forkWith()` into `findTx()` + `forkTx()`
+ Removed `forkTop()`, `forkBase()` (now superseded by new `forkTx()`)

* CoreDb+Aristo: Fix initialiser (missing methods)
2024-05-03 17:38:17 +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 geth compatibility to genesis config parser 2023-11-29 16:15:31 +07:00
db Added support for namespaces to RocksDb kvstore. (#2066) 2024-03-12 11:04:46 +08:00
fixtures Bump eth_tests to 5bf1fff257c0662bc526c27d7546d470025b3239 (#2047) 2024-02-21 23:04:44 +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+aristo re org tracer (#2123) 2024-04-03 15:48:35 +00:00
rpc Experimental RPC endpoints for generating block witnesses (#1977) 2024-01-22 17:11:37 +08:00
test_aristo Core db+aristo fixes and tx handling updates (#2164) 2024-05-03 17:38:17 +00:00
test_beacon Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00:00
test_clique Remove redundant words (#2100) 2024-03-26 07:10:46 +07:00
test_coredb Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_rocksdb_timing Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
test_sync_snap Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
test_txpool Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00:00
README.md
all_tests.nim Providing eth68 stubs while setting eth67 as default (#2129) 2024-04-12 11:21:17 +00:00
all_tests_macro.nim Fix unhandled overflow exception in gasCall 2023-12-04 14:10:56 +07: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 Provide public default db symbol (#2050) 2024-02-23 09:17:24 +00:00
nim.cfg Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
persistBlockTestGen.nim Provide public default db symbol (#2050) 2024-02-23 09:17:24 +00:00
test_accounts_cache.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07: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 Update aristo journal functionality (#2155) 2024-04-26 13:43:52 +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 Fix styles (#2046) 2024-02-21 23:04:59 +07:00
test_clique.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07: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 Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00:00
test_coredb.nim Core db+aristo provides tracer funtionality (#2089) 2024-03-21 10:45:57 +00:00
test_difficulty.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_eip4844.nim EIP-4844: Fix excessBlobGas handling (#1771) 2023-09-24 22:25:41 +07:00
test_filters.nim Bump nim-web3 and others 2024-01-14 10:41:23 +07:00
test_forkid.nim Provide public default db symbol (#2050) 2024-02-23 09:17:24 +00: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 Bump eth_tests and related fixes (#2042) 2024-02-21 16:14:20 +07:00
test_genesis.nim Provide public default db symbol (#2050) 2024-02-23 09:17:24 +00:00
test_getproof_json.nim Experimental RPC endpoints for generating block witnesses (#1977) 2024-01-22 17:11:37 +08: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 Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00:00
test_jwt_auth.nim Implement combo http server for rpc, engine_api, and graphql services (#1992) 2024-01-29 20:20:04 +07:00
test_keyed_queue_rlp.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
test_memory.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
test_merge.nim Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00:00
test_misc.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_op_arith.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_bit.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_custom.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_env.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_memory.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_op_misc.nim Fix styles and reduce compiler warnings (#2086) 2024-03-20 14:35:38 +07:00
test_overflow.nim Ledger activate unified accounts cache wrapper (#1939) 2023-12-12 19:12:56 +00: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_persistblock_witness_json.nim Storage of block witnesses (#1986) 2024-02-13 17:49:41 +08: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 Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
test_rpc.nim Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00:00
test_rpc_experimental_json.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
test_rpc_getproofs_track_state_changes.nim Prepare source code for nim v2 CI (#2028) 2024-02-15 09:57:05 +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 Rename hasCodeOrNonce to contractCollision 2024-04-16 09:31:10 +07:00
test_sync_snap.nim Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
test_tools_build.nim More witness fixes (#2009) 2024-02-09 12:09:02 +08:00
test_tracer_json.nim Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
test_transaction_json.nim Add check copyright year linter to CI 2023-11-01 10:41:20 +07:00
test_txpool.nim Remove redundant words (#2100) 2024-03-26 07:10:46 +07:00
test_txpool2.nim Generalise prune mode option 4 different db models (#2139) 2024-04-17 18:09:55 +00: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!