nimbus-eth2/tests
Jacek Sieka f0720faf17
Fork choice fixes (#1350)
* remove cruft

* reenable fork choice and fix several issues

* in addForkChoice_v2, the `.error` field would be accessed even when
Result is ok
* remove workaround for invalid block structure in fork choice
* fix `tmpState` being used recursively in callback, causing state
corruption while processing attestation
* fix block callback being called twice per block
* pass state to callback to avoid unnecessary rewinding

* enable head select, fix another bug

* never use `get` without `isOk`
* log nil blockref in case blockref is nil

* add missing error checking

* use correct epoch when updating attestation message
2020-07-22 11:42:55 +02:00
..
fork_choice Fork choice fixes (#1350) 2020-07-22 11:42:55 +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 implement aggregated attestation receiving/validating (#1272) 2020-07-02 16:15:27 +00:00
mocking cache block hash (#1329) 2020-07-16 15:16:51 +02:00
official cache block hash (#1329) 2020-07-16 15:16:51 +02:00
simulation - properly distributing the keys between BNs & VCs - fixing finalization - will switch to ON by default as soon as finalization becomes overall stable 2020-07-15 16:18:21 +03:00
spec_block_processing restore EpochRef and flush statecaches on epoch transitions (#1312) 2020-07-15 12:44:18 +02:00
spec_epoch_processing update compute_subnet_for_attestation() to use https://github.com/ethereum/eth2.0-specs/pull/1876 signature, which isn't in v0.12.1, which works with lookahead (#1346) 2020-07-22 08:04:21 +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 Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
test_beacon_chain_db.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
test_beacon_node.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_beaconstate.nim Restore compilation with custom presets (#1309) 2020-07-13 16:44:58 +02:00
test_bitseqs.nim reorder ssz (#1099) 2020-06-03 15:52:02 +02:00
test_block_pool.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02: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 Working test suite with run-time presets 2020-07-08 02:02:14 +03:00
test_keystore.nim Crypto rng (#1284) 2020-07-07 17:51:02 +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 Address some TODO items; Handle start-up before genesis more properly 2020-06-11 17:40:08 +03:00
test_peer_pool.nim Fix PeerPool issue with peers overflow maxPeers setting. (#1285) 2020-07-07 11:49:08 +02:00
test_ssz.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
test_state_transition.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
test_sync_manager.nim Fix #1153. (#1160) 2020-06-11 16:20:53 +02:00
test_sync_protocol.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
test_zero_signature.nim Generate markdown test reports 2020-03-13 14:38:59 +00:00
testblockutil.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00
testutil.nim Restore compilation with custom presets (#1309) 2020-07-13 16:44:58 +02:00