eth2.0-specs/tests/core/pyspec/eth2spec/test/altair
Etan Kissling 0c65f79d82
fix merkle proof test for mainnet
The `test_next_sync_committee_tree` currently only supports the minimal
preset, as it incorrectly initializes the `next_sync_committee`. On the
mainnet preset, `SYNC_COMMITTEE_SIZE` is 512, but the default states use
only 256 validators, leading to an IndexError during the test execution.
`next_sync_committee` is already initialized correctly prior to the test
run using the spec's `get_next_sync_committee` function, which fills up
extra committee slots with duplicate validators in this scenario. This
makes it unnecessary to manually initialize the `next_sync_committee`.
Removed the incorrect initialization to allow testing on mainnet preset.
2021-09-23 15:20:18 +02:00
..
block_processing fix sync agg test for mainnet 2021-09-09 19:53:30 -06:00
epoch_processing add test for `process_inactivity_updates` for randomized state 2021-08-19 07:43:16 -06:00
fork update ejection balance config references 2021-05-19 17:43:56 +02:00
random use more precise name for altair block randomizer and re-gen tests 2021-08-25 17:18:02 -07:00
rewards extend inactivity updates tests 2021-07-07 12:20:34 -06:00
sanity move to code-gen under new test generator 2021-08-24 11:56:15 -07:00
transition Fix bug in Altair transition tests with missing state root 2021-05-25 09:58:36 -07:00
unittests fix merkle proof test for mainnet 2021-09-23 15:20:18 +02:00
__init__.py Rename folders and file names to `altair` 2021-03-11 21:12:46 +08:00