eth2.0-specs/test_libs/pyspec/eth2spec/test
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
..
fork_choice test finalized_checkpoint update 2019-07-01 07:48:20 +08:00
genesis genesis tests generator 2019-06-30 15:26:54 +02:00
helpers Attestation changes + persistent committee changes (#1294) 2019-07-29 09:47:35 -04:00
phase_0 avoid overflow in slashing penalty calculation (#1286) 2019-07-11 09:53:51 +01:00
phase_1 Attestation changes + persistent committee changes (#1294) 2019-07-29 09:47:35 -04:00
sanity Minor python style tweaks 2019-06-30 22:59:12 +02:00
__init__.py move tests to standard pkg/test folder, enable conftest options with soft-import, update readme and makefile 2019-05-08 18:14:47 +02:00
conftest.py Removes old tests & fixes phase1 tests 2019-05-31 12:44:34 +02:00
context.py `spectest_with_bls_switch` decorator 2019-06-21 22:02:03 -06:00
test_finality.py Improve fork choice rule test coverage 2019-07-01 06:33:10 +08:00
utils.py fix encoder to also encode bytes nicely 2019-06-30 15:37:59 +02:00