nimbus-eth2/tests
Etan Kissling 7bc1737653
use correct proposer when mocking blocks (#2869)
When creating beacon blocks, the state needs to be advanced to the new
slot to determine the correct proposer index. In #875 a regression got
introduced that removed this logic when mocking blocks. Existing tests
failed to detect this, as they do not make use of the proposer index.
This patch re-introduces the state advancement, fixing the problem.
2021-09-16 15:48:49 +00:00
..
fork_choice proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
fuzzing disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
helpers proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
mocking use correct proposer when mocking blocks (#2869) 2021-09-16 15:48:49 +00:00
official add merge SSZ consensus object tests (#2858) 2021-09-11 10:01:05 +02:00
simulation Carry out the sync committee gossip duties 2021-08-30 03:58:30 +03:00
slashing_protection proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
spec_block_processing allow testing genesis with Altair (#2866) 2021-09-13 22:56:37 +00:00
spec_epoch_processing allow testing genesis with Altair (#2866) 2021-09-13 22:56:37 +00:00
ssz proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
all_tests.nim Restore the sync committee pool pruning and add tests 2021-08-30 11:06:45 +03:00
all_tests.nim.cfg remove remaining traces of nim-prompt 2021-08-16 21:56:50 +03:00
test_attestation_pool.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
test_beacon_chain_db.nim discard putative blocks from invalid hardforks 2021-09-16 16:18:40 +03:00
test_beaconstate.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
test_bitseqs.nim forkedbeaconstate_helpers -> forks (#2772) 2021-08-10 22:46:35 +02:00
test_block_pool.nim discard putative blocks from invalid hardforks 2021-09-16 16:18:40 +03:00
test_datatypes.nim remove false OnBlockAdded dependency on phase0 HashedBeaconState (#2661) 2021-06-21 08:35:24 +00:00
test_discovery.nim unexport various parts of tests/ and remove unused code (#2794) 2021-08-18 13:58:43 +00:00
test_eth1_monitor.nim
test_eth2_ssz_serialization.nim remove `updateRoot` param from SSZ 2021-08-23 16:49:43 +03:00
test_exit_pool.nim cleanups (#2809) 2021-08-24 21:49:51 +02:00
test_gossip_validation.nim add sync committee types and some helpers (#2829) 2021-08-28 09:00:00 +00:00
test_helpers.nim Introduce unittest2 and junit reports (#2522) 2021-04-28 18:41:02 +02:00
test_honest_validator.nim cleanups (#2809) 2021-08-24 21:49:51 +02:00
test_interop.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
test_keystore.nim unexport various parts of tests/ and remove unused code (#2794) 2021-08-18 13:58:43 +00:00
test_message_signatures.nim sync committee/aggregate signature signing and verification (#2784) 2021-08-17 08:07:17 +00:00
test_peer_pool.nim proc -> func in ncli/, research/, and test/ (#2818) 2021-08-25 14:51:52 +00:00
test_statediff.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
test_sync_committee_pool.nim update 29 Altair spec ref URLs to beta.3 (#2839) 2021-08-31 12:16:27 +00:00
test_sync_manager.nim unexport various parts of tests/ and remove unused code (#2794) 2021-08-18 13:58:43 +00:00
test_sync_manager.nim.cfg
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 altair-capable beacon block creation (#2834) 2021-08-29 14:50:21 +00:00
testdbutil.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
teststateutil.nim disentangle eth2 types from the ssz library (#2785) 2021-08-18 20:57:58 +02:00
testutil.nim forkedbeaconstate_helpers -> forks (#2772) 2021-08-10 22:46:35 +02:00