nimbus-eth1/tests
Jordan Hrycaj 9facab91cb
Prepare snap client for continuing with full sync (#1534)
* Somewhat tighten error handling

why:
  Zombie state is invoked when the current peer turns out to be useless
  for further communication. While there is a chance to further talk
  to a peer about another topic (aka healing) after some protocol failure,
  it makes no sense to do so after a network problem.

  The latter state is explained bu the `peerDegraded` flag that goes
  together with the `zombie` state flag. A degraded peer is dropped
  immediately.

* Remove `--sync-mode=snapCtx` option, always start snap in recovery mode

why:
  No need for a snap sync option without recovery mode, can be achieved
  by deleting the database.

* Code cosmetics, typos, prettify logging, debugging helper, etc.

* Split off snap sync sub-mode handler into separate modules

details:
  The original `worker.nim` source has become a multiplexer for several
  snap sync sub-modes `full` and `snap`. The source modules of the
  incarnations of a particular sync sub-mode are places into the
  `worker/play` directory.

* Update ticker for snap and full sync logging
2023-04-06 20:42:07 +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
fixtures Bumped the tests. Withdrawals tests pass now. 2023-03-18 05:17:07 -04:00
graphql implement better hardfork management 2022-12-02 13:51:42 +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 Prepare snap server client test scenario cont4 (#1507) 2023-03-17 14:46:50 +00:00
rpcclient Add eth_chainId rpc to Nimbus and Fluffy (#1219) 2022-09-10 15:05:32 +02:00
test_clique bump submodules to reduce compiler warnings 2023-02-22 12:21:41 +07:00
test_jwt_auth Enable JWT authentication for websockets (#1039) 2022-04-06 15:11:13 +01:00
test_sync_snap Prepare snap client for continuing with full sync (#1534) 2023-04-06 20:42:07 +01:00
test_txpool fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
README.md
all_tests.nim fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +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 fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
nim.cfg unittest2 (parallelism disabled) 2019-10-31 06:17:01 +01:00
persistBlockTestGen.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_accounts_cache.nim Refactored to introduce distinct types AccountsTrie and StorageTrie. (#1490) 2023-03-10 13:42:37 -05: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_block_fixture.nim eth: adapt to smaller eth_types (#1210) 2022-09-03 20:15:35 +02:00
test_blockchain_json.nim align accounts cache with EIP158/161 2023-03-18 18:13:06 +07:00
test_clique.nim Bump Nim to 1.6 and resolve the related issues (#1445) 2023-01-26 13:37:19 +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 Time based forking (#1465) 2023-02-16 12:40:07 +01:00
test_difficulty.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_filters.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_forkid.nim Time based forking (#1465) 2023-02-16 12:40:07 +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 refactor touched accounts, selfdestruct, and log 2023-03-21 08:14:06 +07:00
test_genesis.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_graphql.nim implement better hardfork management 2022-12-02 13:51:42 +07: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 update ec_recover 2022-01-22 08:26:57 +02:00
test_memory.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_merge.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +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 fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
test_op_memory.nim fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +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 Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_pow.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_precompiles.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_rpc.nim Reduce Nim 1.6 compiler warnings & hints 2023-01-31 13:38:08 +01:00
test_skeleton.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_stack.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_state_db.nim eth: adapt to smaller eth_types (#1210) 2022-09-03 20:15:35 +02:00
test_sync_snap.nim Update snap server client test scenario (#1518) 2023-03-22 20:11:49 +00:00
test_tools_build.nim disable NewBlockHashes and NewBlock of eth wire handler after POS transition 2022-11-14 16:17:34 +07:00
test_tracer_json.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_transaction_json.nim implement better hardfork management 2022-12-02 13:51:42 +07:00
test_txpool.nim cleanup unused txpool unused code 2022-12-09 11:26:14 +07:00
test_txpool2.nim fix macro assembler and reenable disabled tests 2023-03-22 18:18:37 +07:00
test_wire_protocol.nim initial wire protocol transformation 2022-10-15 19:48:21 +07:00
tracerTestGen.nim implement better hardfork management 2022-12-02 13:51:42 +07:00

README.md

tests

TODO: more GeneralStateTest fixtures!