nimbus-eth2/tests
Jacek Sieka adfe655b16
db: make block loading generic (#3413)
Streamline lookup with Forky and BeaconBlockFork (then we can do the
same for era)

We use type to avoid conditionals, as fork is often already known at a
"higher" level.

* load blockid before loading block by root - this is needed to map root
to slot and will eventually be done via block summary table for "old"
blocks

Co-authored-by: tersec <tersec@users.noreply.github.com>
2022-02-21 09:48:02 +01:00
..
consensus_spec var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
fork_choice var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00: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 proc -> func, mainly in spec/state transition and adjecent modules (#3405) 2022-02-17 11:53:55 +00:00
simulation restapi.sh: cleanup on exit (#3328) 2022-01-27 13:03:38 +01:00
slashing_protection Slashing prot interchange tests v5.2.1 (#3277) 2022-01-20 17:14:06 +01:00
spec_block_processing var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
spec_epoch_processing var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
all_tests.nim Harden handling of unviable forks (#3312) 2022-01-26 13:20:08 +01:00
nim.cfg Revert writing backfill root to database (#3215) 2021-12-21 11:40:14 +01:00
test_action_tracker.nim Backfill support for ChainDAG (#3171) 2021-12-13 14:36:06 +01:00
test_attestation_pool.nim var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
test_beacon_chain_db.nim db: make block loading generic (#3413) 2022-02-21 09:48:02 +01:00
test_beacon_time.nim wss_sim: state transition simulator (#3309) 2022-01-22 10:25:30 +01:00
test_block_dag.nim time: spring cleaning (#3262) 2022-01-11 11:01:54 +01:00
test_block_processor.nim limit by-root requests to non-finalized blocks (#3293) 2022-01-21 13:33:16 +02: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 var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
test_datatypes.nim remove false OnBlockAdded dependency on phase0 HashedBeaconState (#2661) 2021-06-21 08:35:24 +00:00
test_discovery.nim Implementation of the Keymanager API (BETA) 2022-01-04 18:51:45 +02:00
test_eth1_monitor.nim Re-enable the HTTP support in Eth1Monitor 2022-01-16 18:26:21 +02:00
test_eth2_ssz_serialization.nim use isZeroMemory for Eth2Digest comparisons (#3386) 2022-02-14 05:26:19 +00:00
test_exit_pool.nim Validator monitoring (#2925) 2021-12-20 20:20:31 +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 var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00: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 ncli_db: add putState, putBlock (#3096) 2021-11-18 13:02:43 +01:00
test_keymanager_api.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
test_keystore.nim var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
test_keystore_management.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
test_merge_vectors.nim bump nim-web3 to fix kiln interop (#3373) 2022-02-11 18:38:44 +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 `state_transition` to `Result` (#3284) 2022-01-17 12:19:58 +01:00
test_statediff.nim var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00:00
test_sync_committee_pool.nim rename no{R=>r}eturn, no{I=>i}init, short{l=>L}og, E{T=>t}h2Node, Beacon{c=>C}hainDB (#3403) 2022-02-16 23:24:44 +01:00
test_sync_manager.nim harden and speed up block sync (#3358) 2022-02-07 19:20:10 +02: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 var => let in specs/ and tests/ (#3425) 2022-02-20 20:13:06 +00: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