nimbus-eth2/tests
Jacek Sieka d0dbc4a8f9
Snappy revamp (#3564)
This PR makes the necessary adjustments to deal with the revamped snappy
API.

In practical terms for nimbus-eth2, there are performance increases to
gossip processing, database reading and writing as well as era file
processing. Exporting `.era` files for example, a snappy-heavy
operation, almost halves in total processing time:

Pre:

```
     Average,       StdDev,          Min,          Max,      Samples,         Test
      39.088,        8.735,       23.619,       53.301,           50, tState
     237.079,       46.692,      165.620,      355.481,           49, tBlocks
```

Post:

```
All time are ms
     Average,       StdDev,          Min,          Max,      Samples,         Test
      25.350,        5.303,       15.351,       41.856,           50, tState
     141.238,       24.164,       99.990,      199.329,           49, tBlocks
```
2022-04-15 09:44:06 +02:00
..
consensus_spec stylecheck fixes (#3592) 2022-04-14 13:47:14 +03:00
fork_choice stylecheck fixes (#3592) 2022-04-14 13:47:14 +03:00
fuzzing test fixture cleanups (#2976) 2021-10-12 13:36:52 +02:00
helpers Use nim-ssz-serialization module and rm local ssz code 2021-11-10 13:37:24 +02:00
mocking post-merge Bellatrix block proposals (#3570) 2022-04-14 20:15:34 +00:00
simulation harden REST API `atSlot` against non-finalized blocks (#3538) 2022-03-23 12:42:16 +01:00
slashing_protection Minify slashing protection before SQLite (#3393) 2022-03-04 16:43:34 +02:00
spec_block_processing automated CL spec ref URL updates from v1.1.9 to v1.1.10 (#3455) 2022-03-02 10:00:21 +00:00
spec_epoch_processing var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
all_tests.nim introduce light client processor (#3509) 2022-03-17 23:26:56 +01:00
nim.cfg enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_action_tracker.nim Backfill support for ChainDAG (#3171) 2021-12-13 14:36:06 +01:00
test_attestation_pool.nim stylecheck fixes (#3593) 2022-04-14 17:39:37 +02:00
test_beacon_chain_db.nim Snappy revamp (#3564) 2022-04-15 09:44:06 +02:00
test_beacon_time.nim add `start_slot` overload for sync periods (#3469) 2022-03-08 11:38:58 +01:00
test_block_dag.nim move dependent root computations to `BeaconState` / `EpochRef` (#3478) 2022-03-15 09:24:55 +01:00
test_block_processor.nim kiln beacon node (#3540) 2022-03-25 11:40:10 +00:00
test_block_quarantine.nim proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
test_blockchain_dag.nim work around Nim assignment bug that breaks state pruning (#3545) 2022-03-24 14:37:37 +00:00
test_datatypes.nim remove false OnBlockAdded dependency on phase0 HashedBeaconState (#2661) 2021-06-21 08:35:24 +00:00
test_discovery.nim enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_engine_authentication.nim JWT support (#3561) 2022-03-31 14:43:05 +00:00
test_eth1_monitor.nim rename random -> prev_randao in Bellatrix for CL specs v1.1.10 (#3460) 2022-03-03 16:08:14 +00:00
test_eth2_ssz_serialization.nim use isZeroMemory for Eth2Digest comparisons (#3386) 2022-02-14 05:26:19 +00:00
test_exit_pool.nim remove StateData (#3507) 2022-03-16 08:20:40 +01:00
test_forks.nim rename MERGE_FORK_EPOCH to BELLATRIX_FORK_EPOCH (#3350) 2022-02-02 14:06:55 +01:00
test_gossip_transition.nim rename Beacon{Block,State}Fork.Merge to Bellatrix; update copyright years (#3240) 2022-01-04 09:45:38 +00:00
test_gossip_validation.nim remove StateData (#3507) 2022-03-16 08:20:40 +01:00
test_helpers.nim move `state_transition` to `Result` (#3284) 2022-01-17 12:19:58 +01:00
test_honest_validator.nim dynamic sync committee subscriptions (#3308) 2022-01-24 20:40:59 +00:00
test_interop.nim stylecheck fixes (#3593) 2022-04-14 17:39:37 +02:00
test_keymanager_api.nim enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_keystore.nim stylecheck fixes (#3592) 2022-04-14 13:47:14 +03:00
test_keystore_management.nim stylecheck fixes (#3593) 2022-04-14 17:39:37 +02:00
test_light_client.nim enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_light_client_processor.nim enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_message_signatures.nim batch-verify sync messages for a small perf boost (#3151) 2021-12-09 14:56:54 +02:00
test_peer_pool.nim proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
test_spec.nim move `BlockId` to `spec` (#3511) 2022-03-16 16:00:18 +01:00
test_statediff.nim remove StateData (#3507) 2022-03-16 08:20:40 +01:00
test_sync_committee_pool.nim enable `styleCheck:usages` (#3573) 2022-04-08 16:22:49 +00:00
test_sync_manager.nim avoid re-requesting finalized blocks during sync (#3461) 2022-03-15 18:56:56 +01:00
test_zero_signature.nim update spec references from eth2.0-specs to consensus-specs and to v1.1.0-beta.2 (#2822) 2021-08-26 10:21:52 +02:00
testblockutil.nim stylecheck fixes (#3593) 2022-04-14 17:39:37 +02:00
testdbutil.nim Support starting from altair (#3054) 2021-11-10 13:39:08 +02:00
teststateutil.nim rename MERGE_FORK_EPOCH to BELLATRIX_FORK_EPOCH (#3350) 2022-02-02 14:06:55 +01:00
testutil.nim forkedbeaconstate_helpers -> forks (#2772) 2021-08-10 22:46:35 +02:00