eth2.0-specs/tests/core/pyspec/eth2spec/test/helpers
Hsiao-Wei Wang acfe49e3f3
executable light client patch: beacon-chain.md (#2141)
* Bump remerkleable to 0.1.18

* Disable `sync-protocol.md` for now. Make linter pass

* Enable lightclient tests

* Use *new* `optional_fast_aggregate_verify`

* Fix ToC and codespell

* Do not run phase1 tests with Lightclient patch

* Fix the Eth1Data casting bug. Add a workaround.

* Fix `run_on_attestation` testing helper

* Revert

* Rename `optional_fast_aggregate_verify` to `eth2_fast_aggregate_verify`

* Apply Proto's suggestion

* Apply Danny's suggestion

* Fixing tests

* Fix after rebasing

* Rename `LIGHTCLIENT` -> `LIGHTCLIENT_PATCH`

* New doctoc

* Add lightclient patch configs

* fix gitignore light client patch generator output

* Upgrade state for light client patch

* Add `lightclient-fork.md` to deal the fork boundary and fix
`process_block_header`

* Misc cleanups

1) Add a summary note for every function that is changed.
2) Avoid changing `process_block` (instead only change `process_block_header`).
3) Rename `G2_INFINITY_POINT_SIG` to `G2_POINT_AT_INFINITY` to avoid `SIG` contraction.
4) Misc cleanups

* Update block.py

* Update beacon-chain.md

* Fix typo "minimal" -> "mainnet"

Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>

* Use the new `BeaconBlockHeader` instead of phase 0 version

* Update config files

* Move `sync_committee_bits` and `sync_committee_signature` back to `BeaconBlockBody`

Co-authored-by: protolambda <proto@protolambda.com>
Co-authored-by: Justin <drakefjustin@gmail.com>
Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
2020-12-15 13:18:20 +08:00
..
__init__.py reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move 2020-01-10 11:55:13 -07:00
attestations.py Remove unused `get_attestation_custody_signature` 2020-08-11 12:48:13 +08:00
attester_slashings.py multi-op tests 2020-10-20 17:00:16 -06:00
block.py executable light client patch: beacon-chain.md (#2141) 2020-12-15 13:18:20 +08:00
block_header.py reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move 2020-01-10 11:55:13 -07:00
custody.py Use v-guide's `get_custody_secret` 2020-08-12 17:39:44 +08:00
deposits.py multi-op tests 2020-10-20 17:00:16 -06:00
fork_choice.py Pass `anchor_block` to `get_forkchoice_store` 2020-09-15 12:51:11 +08:00
genesis.py add genesis_validators_root to beaconstate and utilize in sig domain separation as well as fork separation 2020-03-05 09:21:32 -07:00
keys.py Update to IETF BLS draft-irtf-cfrg-bls-signature-02 2020-05-09 11:48:48 +08:00
multi_operations.py fix multi-operation test runner helper 2020-11-06 07:05:52 -06:00
proposer_slashings.py add multiple exits block sanity test 2020-05-07 12:23:37 -06:00
rewards.py executable light client patch: beacon-chain.md (#2141) 2020-12-15 13:18:20 +08:00
shard_block.py Refactor 2020-06-19 19:09:11 +08:00
shard_transitions.py Update testing context 2020-08-12 21:50:14 +08:00
state.py Rename `PHASE_1_GENESIS_SLOT` to `PHASE_1_FORK_SLOT` and set it to `Slot(0)` for testing. 2020-07-16 23:58:47 +08:00
voluntary_exits.py add note about how slashings and exits can interact. add test 2020-10-14 17:33:14 -06:00