eth2.0-specs/tests/core/pyspec/eth2spec
Hsiao-Wei Wang 524ba166d1
[squashed] shard chain updates wip
Fix wrong field names

Fix `build_attestation_data` and other PR feedback from Danny and
Terence

1. Rename `get_previous_slot` to `compute_previous_slot`
2. Break down `build_empty_block` into
`get_state_and_beacon_parent_root_at_slot`, use it in
`build_shard_block`
3. Set defult `slot` to `shard_state.slot + 1` in `build_shard_block`

Update `verify_shard_block_message`: check beacon_parent_root at fork
choice rule stage instead of state transition

Fix  `beacon-chain.md`

1. Fix typo `attestation.slot == state.slot` -> `attestation.data.slot == state.slot` in `is_winning_attestation`
2. Check `verify_shard_transition_false_positives` **after** `process_operations`
3. Fix `shard_attestations` filter in `process_crosslinks`: since attestations come from block, should use `attestation.data.slot + MIN_ATTESTATION_INCLUSION_DELAY == state.slot`
4. [TBD] Allow empty `light_client_signature` to make the tests pass
5. [TBD] Add `is_shard_attestation`, filter out empty `ShardTransition()`

Rework `test_process_crosslink`

Add basic phase 1 `test_blocks`

Add more test cases

Revert `is_shard_attestation` and fix test cases backward compatibility.

Remove `test_process_beacon_block_no_shard_transition` and consider it as invalid case.
2020-05-02 02:32:31 +08:00
..
config update remerkleable; mul/div bound checks, update config loading 2020-04-06 18:40:09 +02:00
debug Remerkleable - merkle tree based ssz for better and faster spec 2020-01-25 00:43:43 +01:00
test [squashed] shard chain updates wip 2020-05-02 02:32:31 +08:00
utils Remerkleable - merkle tree based ssz for better and faster spec 2020-01-25 00:43:43 +01:00
VERSION.txt bump version to v0.11.2 2020-04-24 10:21:47 -06:00
__init__.py more explicit about version file location 2020-02-08 23:59:08 +01:00