nimbus-eth2/tests
Jacek Sieka 46c94a18ba rework epoch cache referencing
* collect all epochrefs in specific blocks to make them easier to find
and to avoid lots of small seqs
* reuse validator key databases more aggressively by comparing keys
* make state cache available from within `withState`
* make epochRef available from within onBlockAdded callback
* integrate getEpochInfo into block resolution and epoch ref logic such
that epochrefs are created when blocks are added to pool or lazily when
needed by a getEpochRef
* fill state cache better from EpochRef, speeding up replay and
validation
* store epochRef in specific blocks to make them easier to find and
reuse
* fix database corruption when state is saved while replaying quarantine
* replay slots fully from block pool before processing state
* compare bls values more smartly
* store epoch state without block applied in database - it's recommended
to resync the node!

this branch will drastically speed up processing in times of long
non-finality, as well as cut memory usage by 10x during the recent
medalla madness.
2020-08-19 10:09:06 +03:00
..
fork_choice simplify fork choice code (#1521) 2020-08-18 16:56:32 +02:00
fuzzing Local sim now includes a prometheus server, a Ganache instance and a simulation dashboard server (in Tmux mode) 2020-06-22 17:30:04 +03:00
helpers Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
mocking Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
official add EF finality tests (#1515) 2020-08-17 07:19:48 +00:00
simulation create local testnet mode for eth2_network (#1494) 2020-08-12 14:16:59 +00:00
spec_block_processing update 111 v0.12.1 beacon chain spec refs to v0.12.2 (#1380) 2020-07-27 18:49:46 +02:00
spec_epoch_processing spec cleanups (#1379) 2020-07-27 16:04:44 +00:00
all_tests.nim Address review comments; Add a test 2020-07-12 21:01:31 +03:00
all_tests.nim.cfg Use only secp256k1 as identity in libp2p. (#1343) 2020-07-21 18:07:14 +02:00
test_attestation_pool.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
test_beacon_chain_db.nim add state root test (#1466) 2020-08-07 22:17:24 +02:00
test_beacon_node.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_beaconstate.nim Prefer converting int` to uint64 and switch foo.len.uint64 to .len64 (#1375) 2020-07-26 20:55:48 +02:00
test_bitseqs.nim reorder ssz (#1099) 2020-06-03 15:52:02 +02:00
test_block_pool.nim rework epoch cache referencing 2020-08-19 10:09:06 +03:00
test_datatypes.nim Address review comments; Add a test 2020-07-12 21:01:31 +03:00
test_helpers.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_honest_validator.nim remove v0.11.3 support; add block_sim to CI (#1253) 2020-06-29 18:08:58 +00:00
test_interop.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_keystore.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_mainchain_monitor.nim bump submodules 2020-07-14 03:01:23 +02:00
test_mocking.nim refactor some Merkle proof generation code outside tests; remove unused variables/functions 2020-04-15 09:59:49 +00:00
test_peer_connection.nim more fork-choice fixes (#1388) 2020-07-30 17:48:25 +02:00
test_peer_pool.nim Use one single async queue and loop for processing blocks. (#1487) 2020-08-12 11:29:11 +02:00
test_ssz.nim Prefer converting int` to uint64 and switch foo.len.uint64 to .len64 (#1375) 2020-07-26 20:55:48 +02:00
test_state_transition.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
test_sync_manager.nim SyncManager fix to process blocks one by one. (#1464) 2020-08-10 09:15:50 +02:00
test_sync_protocol.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_zero_signature.nim Revert "Lazy crypto [alt design #1369] (#1371)" (#1435) 2020-08-04 17:15:13 +00:00
testblockutil.nim Bump nim-blscurve (#1491) 2020-08-15 19:33:58 +02:00
testutil.nim renamed CandidateChains to ChainDagRef and made the Quarantine type a ref type so there is a single instance in the beacon node (#1407) 2020-07-31 14:49:06 +00:00