93 Commits

Author SHA1 Message Date
Danny Ryan
cfc66a3794
patch tests 2021-06-07 16:36:18 -06:00
Danny Ryan
09b6fb0e64
ensure consistency about sync committees vs aggregates in naming throughout 2021-06-07 16:17:46 -06:00
Danny Ryan
b97972c091
Merge pull request #2444 from ethereum/invariant-checks
Add some invariant checks to pyspec unit tests
2021-06-07 09:09:56 -06:00
Danny Ryan
ad1e51a2cb
Merge pull request #2435 from ethereum/altair_epoch_tests
Inactivity updates test generation, implement new participation flag updates testing
2021-06-07 08:12:41 -06:00
Danny Ryan
8ba740a93a
Merge branch 'dev' into invariant-checks 2021-06-07 08:12:27 -06:00
Danny Ryan
9c78de9d42
pr review 2021-06-07 08:00:03 -06:00
Danny Ryan
6f7e04ef5c
Apply suggestions from hwwhww code review
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-06-07 07:56:52 -06:00
Danny Ryan
1d5c4ecffb
Merge pull request #2453 from ethereum/vbuterin-patch-11
Modify sync committee logic and parameters to reduce variance
2021-06-04 12:23:16 -06:00
Danny Ryan
48ecc98b75
Merge branch 'dev' into altair_epoch_tests 2021-06-02 16:46:30 -06:00
Danny Ryan
d598c09876
Merge pull request #2443 from ralexstokes/fix-altair-transition-test
Fix bug in Altair transition tests with missing state root
2021-06-02 11:13:17 -06:00
Hsiao-Wei Wang
67809e76e1
Fix tests 2021-06-02 01:40:54 +08:00
Potuz
c115fa9a86
make it pass the linter 2021-06-02 01:22:27 +08:00
Potuz
b8d426b028
Align Sync Committee Tests to Specs 2021-06-02 01:22:26 +08:00
Hsiao-Wei Wang
cb008f2c1a
Fix _get_sync_committee_signature helper. Should have used target_slot 2021-05-26 02:40:22 +08:00
Hsiao-Wei Wang
b5f9b5d74f
Add more checks 2021-05-26 01:21:04 +08:00
Hsiao-Wei Wang
69f2a31406
Add some config invariant checks 2021-05-26 01:10:40 +08:00
Alex Stokes
4664ccbc42
Fix bug in Altair transition tests with missing state root 2021-05-25 09:58:36 -07:00
protolambda
ed912f599e
add assertions on flag updates 2021-05-22 18:52:29 +02:00
protolambda
4c02dbadd0
enable inactivity updates test generator output, implement new participation flag updates testing 2021-05-22 18:43:29 +02:00
Danny Ryan
a52d67de0f
Merge pull request #2426 from ralexstokes/more-altair-fork-transition-tests
More Altair fork transition tests
2021-05-21 13:53:19 -06:00
Alex Stokes
b9ad8bca00
Update tests/core/pyspec/eth2spec/test/altair/transition/test_transition.py 2021-05-20 12:07:46 -07:00
Alex Stokes
d04ecf16b1
PR feedback and add two more test cases 2021-05-20 11:55:11 -07:00
Alex Stokes
df742ea8af
add fork finality test with random participation 2021-05-19 12:16:24 -07:00
protolambda
46bb8273df
update ejection balance config references 2021-05-19 17:43:56 +02:00
Alex Stokes
7eba1612cf
Add fork transition test that finalizes across fork boundary 2021-05-18 17:43:34 -07:00
protolambda
f5c647b47b
switch configuration to named tuple for reliable hashing, add test for config override functionality 2021-05-18 16:08:30 +02:00
protolambda
e8b0c46138
misc test fixes for new config approach 2021-05-18 14:45:56 +02:00
protolambda
d3bf218361
update config usages 2021-05-18 12:56:34 +02:00
protolambda
d0fef3bf3f
update tests with new config util 2021-05-18 09:58:50 +02:00
Danny Ryan
5dd29b6659
fix tests and minor copy edit 2021-05-14 06:15:48 -06:00
Danny Ryan
049210bd8a
utilize new randomize functions in process_inactivity_updates testing 2021-05-13 13:44:41 -06:00
Danny Ryan
d38af7a158
Merge branch 'dev' into vbuterin-patch-11 2021-05-13 13:39:05 -06:00
Danny Ryan
699a3f837e
pr feedback 2021-05-13 13:38:43 -06:00
Danny Ryan
a52565aa81
add random altair fork tests for better translation coverage + pr review 2021-05-13 13:21:43 -06:00
Danny Ryan
4a91c93962
add epoch processing tests for inactivity udpates 2021-05-12 15:06:32 -06:00
Danny Ryan
fa1bdabace
add random inactivity scores tests 2021-05-12 14:23:11 -06:00
Danny Ryan
133875a6d6
fix sync_committe_update tests 2021-05-12 09:56:13 -06:00
Danny Ryan
a8791f04c7
'get_sync_committee -> get_next_sync_committee 2021-05-12 09:44:13 -06:00
Danny Ryan
1a7aa898ab
Merge branch 'dev' into sync-seed 2021-05-12 08:46:11 -06:00
Danny Ryan
dff12dd644
Merge pull request #2400 from ethereum/sync-committee-off-by-1
add logic for handling sync committee off by one issue
2021-05-12 08:45:05 -06:00
Hsiao-Wei Wang
17820e3711
Skip the mainnet config slow tests 2021-05-12 13:02:15 +08:00
Hsiao-Wei Wang
dad698f97a
Update unit tests: add test_compute_subnets_for_sync_committee_slot_period_boundary 2021-05-12 12:35:47 +08:00
Danny Ryan
468f42c545
Merge branch 'simplify-sync-committee-calc' into sync-seed 2021-05-11 16:03:19 -06:00
Danny Ryan
200c049778
fix seed calc issue 2021-05-11 15:55:33 -06:00
Alex Stokes
859a7d743e
Only allow sync committee period calculation at period boundaries 2021-05-11 12:42:21 -07:00
Alex Stokes
e2aa595d5f
PR feedback 2021-05-11 10:16:43 -07:00
Alex Stokes
d744825583
update docs 2021-05-11 10:14:28 -07:00
Alex Stokes
c08fb7714c
More altair fork tests with varied block conditions 2021-05-11 10:14:28 -07:00
Alex Stokes
3f3aa4fb10
add some altair tests 2021-05-11 10:14:28 -07:00
Alex Stokes
0e71496eb5
add "normal" transition test 2021-05-11 10:14:28 -07:00