eth2.0-specs/test_libs/pyspec/eth2spec/test/helpers
vbuterin de9b4f2d6d
Attestation changes + persistent committee changes (#1294)
* Minimal attestation simplification

* minor fix

* Make the tests pass

* Decrease `PLACEHOLDER`, Use `compute_epoch_of_shard_slot`

* Fix proposer signature name and use get_seed() to calculate current_shuffling_seed

* Fix linter error

* Add the WIP `test_is_valid_shard_block`

* Add `get_shard_block_attester_committee`

* Simplified committee selection

* Added some helpers and simplified

* Update specs/core/1_shard-data-chains.md

* Update 1_shard-data-chains.md

* Simplified switchover epochs, changed block structure, changed crosslink structure

* Update 1_shard-data-chains.md

* Moved balance dependency to proposer selection

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>

* Update specs/core/1_shard-data-chains.md

* Fixed shard header flattening

* Update specs/core/1_shard-data-chains.md

* Minor fixes

* Update specs/core/1_shard-data-chains.md

* Update specs/core/1_shard-data-chains.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* cleanup testing and lint

* return none if not active validators in persistent committee

* only allow active validators as shard proposer
2019-07-29 09:47:35 -04:00
..
phase1 Attestation changes + persistent committee changes (#1294) 2019-07-29 09:47:35 -04:00
__init__.py clean up helpers, make helpers pkg 2019-05-15 18:36:32 +02:00
attestations.py `compute_slot_epoch`->`compute_epoch_of_slot` 2019-06-30 23:35:07 +02:00
attester_slashings.py WIP 2019-06-30 10:02:18 +01:00
block.py `compute_slot_epoch`->`compute_epoch_of_slot` 2019-06-30 23:35:07 +02:00
block_header.py Implements new SSZ types 2019-06-05 15:29:26 +02:00
custody.py Merge dev -> early_spec_test 2019-06-25 17:11:04 +02:00
deposits.py Merge branch 'dev' into last-minute-cleanups-2 2019-07-01 09:25:06 +08:00
genesis.py Merge branch 'dev' into last-minute-cleanups-2 2019-07-01 09:36:13 +08:00
keys.py reduce validator key count again, fix valid attestation creation - snippet from Danny 2019-05-17 21:26:18 +02:00
proposer_slashings.py fix get_active_validator_indices typing usage 2019-06-22 18:34:33 +02:00
state.py fix 2019-07-01 09:33:28 +08:00
transfers.py fix usage of bls withdrawal byte in tests 2019-07-01 00:36:24 +02:00
voluntary_exits.py Implements new SSZ types 2019-06-05 15:29:26 +02:00