nimbus-eth2/tests
Jacek Sieka abe0d7b4ae singe validator key cache
Instead of keeping a validator key list per EpochRef, this PR introduces
a single shared validator key list in ChainDAG, and cleans up some other
ChainDAG and key-related issues.

The PR does not introduce the validator key list in the state transition
- this is because we batch-check all signatures before entering the spec
code, thus the spec code never hits the cache.

A future refactor should _probably_ remove the threadvar altogether.

There's a few other small fixes in here that make the flow easier to
read:

* fix `var ChainDAGRef` -> `ChainDAGRef`
* fix `var QuarantineRef` -> `QuarantineRef`
* consistent `dag` variable name
* avoid using threadvar pubkey cache in most cases
* better error messages in batch signature checking
2021-06-01 20:43:44 +03:00
..
fork_choice Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
fuzzing Clarify that the deposit cretion tools are intended for testnets 2021-04-08 19:58:22 +03:00
helpers remove {.inline.} pragmas (#2033) 2020-11-20 11:00:22 +01:00
mocking singe validator key cache 2021-06-01 20:43:44 +03:00
official update ChainDAG.effective_balance() to use StateData; rm ChainDAG.getBlockByPreciseSlot() (#2622) 2021-06-01 12:40:13 +00:00
simulation Allow the custom testnet metadata to specify a path to the genesis file 2021-06-01 15:50:50 +03:00
slashing_protection Slashing db pruning [Merge only after v2 has been default for 1 noticeable release] (#2452) 2021-05-10 16:32:28 +02:00
spec_block_processing Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
spec_epoch_processing proposed structure for altair (#2323) 2021-05-28 15:25:58 +00:00
all_tests.nim log doppelganger attestation signature; rm withState.HashedBeaconState uses (#2608) 2021-05-28 15:51:15 +03:00
all_tests.nim.cfg
test_attestation_pool.nim singe validator key cache 2021-06-01 20:43:44 +03:00
test_beacon_chain_db.nim Db1 cont (#2573) 2021-05-17 18:37:26 +02:00
test_beaconstate.nim rename initialize_beacon_state to initialize_beacon_state_from_eth1 (#2536) 2021-05-04 12:19:11 +02:00
test_bitseqs.nim fix subnet logic (#2555) 2021-05-11 22:03:40 +02:00
test_block_pool.nim singe validator key cache 2021-06-01 20:43:44 +03:00
test_datatypes.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_discovery.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_eth1_monitor.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_exit_pool.nim singe validator key cache 2021-06-01 20:43:44 +03:00
test_gossip_validation.nim singe validator key cache 2021-06-01 20:43:44 +03:00
test_helpers.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_honest_validator.nim Perform attestation check before broadcast (#2550) 2021-05-10 09:13:36 +02:00
test_interop.nim singe validator key cache 2021-06-01 20:43:44 +03:00
test_keystore.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_peer_pool.nim add attestation stats tool to ncli_db (#2539) 2021-05-07 13:36:21 +02:00
test_ssz.nim Db1 cont (#2573) 2021-05-17 18:37:26 +02:00
test_ssz_merkleization.nim Move SSZ, deposit_contracts & eth1_monitor [reorg files 3/5] (#2371) 2021-03-03 07:23:05 +01:00
test_ssz_roundtrip.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_state_transition.nim use StateData in place of BeaconState outside state transition code (#2551) 2021-05-21 09:23:28 +00:00
test_statediff.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_sync_manager.nim clean up block processing (#2610) 2021-05-28 19:34:00 +03:00
test_sync_manager.nim.cfg Split Eth2Processor in prep for batching (#2396) 2021-03-11 11:10:57 +01:00
test_zero_signature.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
testblockutil.nim singe validator key cache 2021-06-01 20:43:44 +03:00
testdbutil.nim Db1 cont (#2573) 2021-05-17 18:37:26 +02:00
teststateutil.nim add attestation stats tool to ncli_db (#2539) 2021-05-07 13:36:21 +02:00
testutil.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00