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 |
Danny Ryan
|
7589af8e8d
|
remove wip notice on phase 0 specs
|
2020-11-04 09:30:29 -06:00 |
Danny Ryan
|
276ca6d4d3
|
pr feedback
Co-authored-by: Diederik Loerakker <proto@protolambda.com>
|
2020-11-03 16:27:47 -06:00 |
Danny Ryan
|
a8c1d21589
|
add attestation test for off by one committee index
|
2020-11-03 15:49:34 -06:00 |
Danny Ryan
|
f7a9493ca0
|
multi-op tests
|
2020-10-20 17:00:16 -06:00 |
Danny Ryan
|
a34970f8a3
|
move op tests to test_blocks
|
2020-10-16 08:27:28 -06:00 |
Danny Ryan
|
aab58e4700
|
update sanity generators to generate the oepration block tests as well
|
2020-10-14 17:41:11 -06:00 |
Danny Ryan
|
c17a95a175
|
add note about how slashings and exits can interact. add test
|
2020-10-14 17:33:14 -06:00 |
Danny Ryan
|
a61c56a6b6
|
add a few rewards tests for duplicate style attestations
|
2020-10-13 16:15:35 -06:00 |
Danny Ryan
|
2e09c91e39
|
fix test generators for mainnet max slashing penalties
|
2020-10-06 11:34:33 -06:00 |
Danny Ryan
|
9f36fd6954
|
PR feedback. thanks @hwwhww
|
2020-09-29 10:02:28 -06:00 |
Danny Ryan
|
0e2e494d7e
|
fix function signature calls on deposit helpers
|
2020-09-28 20:25:24 -06:00 |
Danny Ryan
|
76d69263fc
|
use better rng practice for reproducibility
|
2020-09-28 18:26:03 -06:00 |
Danny Ryan
|
4e2c7d20b7
|
add additional genesis initialization tests
|
2020-09-28 17:55:54 -06:00 |
Danny Ryan
|
157f7e8ef4
|
upgrade config to mainnet values
|
2020-09-28 12:56:08 -06:00 |
Hsiao-Wei Wang
|
27d8c80690
|
Use `with_configs[MINIMAL]` on `large_validator_set` tests
|
2020-09-18 17:05:30 +08:00 |
Hsiao-Wei Wang
|
5374890da0
|
Merge branch 'dev' into testgenphase1
|
2020-09-17 21:11:49 +08:00 |
Danny Ryan
|
7c685d490e
|
Merge pull request #2061 from ethereum/anchor_block_header_3
Pass `anchor_block` to `get_forkchoice_store`
|
2020-09-15 10:10:29 -06:00 |
Hsiao-Wei Wang
|
1e29563242
|
Pass `anchor_block` to `get_forkchoice_store`
|
2020-09-15 12:51:11 +08:00 |
Danny Ryan
|
1785f987f8
|
add a few more proposer slashing tests
|
2020-09-10 16:50:03 -06:00 |
protolambda
|
28137a6176
|
Merge branch 'dev' into testgenphase1
|
2020-09-09 23:43:26 +02:00 |
Hsiao-Wei Wang
|
dc888178be
|
Merge branch 'testgenphase1' into reveal_deadlines_setting
|
2020-09-02 00:07:19 +08:00 |
Hsiao-Wei Wang
|
b4583aba5d
|
Add skipping messages to some old test cases
|
2020-08-28 14:52:41 +08:00 |
Hsiao-Wei Wang
|
7eeb754f7d
|
Add `disable_process_reveal_deadlines` decorator
|
2020-08-13 18:06:36 +08:00 |
Hsiao-Wei Wang
|
3e5cada5de
|
Merge branch 'dev' into testgenphase1
|
2020-08-11 15:24:43 +08:00 |
Danny Ryan
|
b02c2e1c49
|
fix randao mix in sanity tests
|
2020-08-10 21:00:23 -06:00 |
Danny Ryan
|
8b39d41145
|
PR feedback
|
2020-08-10 13:06:20 -06:00 |
Danny Ryan
|
c3ae85387c
|
add larger validator set test for regression test for active_shard_count issue
|
2020-08-05 13:26:21 -06:00 |
Hsiao-Wei Wang
|
6a9dd1647c
|
Merge branch 'dev' into shard-fork-choice-fix
|
2020-07-30 01:13:50 +08:00 |
Hsiao-Wei Wang
|
60e9eacf4b
|
Disable these 2 tests in phase 1 due to #1974 Issue 3
|
2020-07-30 00:22:27 +08:00 |
Hsiao-Wei Wang
|
f6fd151872
|
Merge branch 'dev' into shard-fork-choice-fix
|
2020-07-29 00:15:41 +08:00 |
Hsiao-Wei Wang
|
b1eb157539
|
Merge branch 'dev' into hwwhww/phase-1-fork-slot
|
2020-07-28 23:59:19 +08:00 |
Danny Ryan
|
cf1a9e815d
|
Merge pull request #1991 from ethereum/reorg-tests
Reorg tests and add finality test suite
|
2020-07-24 08:13:54 -06:00 |
protolambda
|
fbb8401d03
|
sanity test: proposer slashes themselves
|
2020-07-24 15:09:20 +02:00 |
protolambda
|
e9d887be4d
|
Enable BLS in finality tests, use Milagro
|
2020-07-24 01:19:14 +02:00 |
Hsiao-Wei Wang
|
de15960185
|
Add finality tests to test vectors
|
2020-07-24 04:23:26 +08:00 |
Hsiao-Wei Wang
|
bdde2e5889
|
Reorg test dir
|
2020-07-24 03:54:45 +08:00 |
Hsiao-Wei Wang
|
8fb96f1860
|
Enable more phase 0 tests to be compatible with phase 1
|
2020-07-17 00:10:04 +08:00 |
Hsiao-Wei Wang
|
60f4bd2288
|
The AttesterSlashing tests for phase1 can be enabled now after #1889
|
2020-07-09 21:59:01 +08:00 |
protolambda
|
3b7617f51a
|
make extracted byte uint8 for bitshift, do not use negative slice indexing, avoid negative comparison in test
|
2020-06-26 16:14:27 +02:00 |
protolambda
|
4bf10be4ff
|
use BLS constant for special signature
|
2020-06-23 21:14:43 +02:00 |
protolambda
|
ddddc4ba99
|
attester slashing with 0 indices and out of bounds indices
|
2020-06-23 02:06:27 +02:00 |
Danny Ryan
|
948ad23f96
|
Merge branch 'dev' into epochwise_committee_count_per_slot
|
2020-06-18 09:44:02 -06:00 |
Hsiao-Wei Wang
|
ec25f78632
|
Update path
|
2020-06-18 14:55:50 +08:00 |
Hsiao-Wei Wang
|
27eb2e2579
|
Move testing files from */phase_0 to */phase0, */phase_1 to */phase1
|
2020-06-18 14:54:27 +08:00 |