Commit Graph

6207 Commits

Author SHA1 Message Date
Danny Ryan
a6d5b2e215 pull state randomization functions out of rewards testing 2021-05-13 08:22:24 -06:00
Danny Ryan
a2c8e0e6c6 Merge branch 'dev' into translate-participation-test 2021-05-13 06:33:06 -06:00
Danny Ryan
51a5474e6d Merge pull request #2399 from ethereum/keep-inactivity-function
dankrad altair review -- extended and tested
2021-05-12 12:38:26 -06:00
Danny Ryan
a469b467ff Merge branch 'dev' into keep-inactivity-function 2021-05-12 12:27:15 -06:00
Danny Ryan
5188671816 Update specs/altair/beacon-chain.md
Co-authored-by: dankrad <dankrad@ethereum.org>
2021-05-12 12:18:35 -06:00
Danny Ryan
a0f86d19d3 Merge pull request #2407 from ethereum/ralexstokes-patch-1
Update validator guide with restricted sync committee computation
2021-05-12 12:18:06 -06:00
Danny Ryan
9a0be85b1e Merge pull request #2406 from ethereum/sync-seed
remove sync committee seed and restrict period calculation boundaries
2021-05-12 12:17:42 -06:00
Alex Stokes
4286f85a68 Update validator guide with restricted sync committee computation 2021-05-12 11:05:41 -07: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
84830e8f26 Merge pull request #2131 from ethereum/bbr-ws
BlocksByRange under WS
2021-05-12 08:51:16 -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
Danny Ryan
6371707779 Apply suggestions from code review
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-05-12 08:40:34 -06:00
Danny Ryan
f52f067b8e add resourceunavailable error code 2021-05-12 08:36:27 -06:00
Danny Ryan
82b7a7be3b Apply suggestions from code review
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
Co-authored-by: Jacek Sieka <jacek@status.im>
2021-05-12 08:29:42 -06:00
Hsiao-Wei Wang
8e07ece492 Minor rephrase 2021-05-12 14:11:33 +08: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
39924c4f14 Merge pull request #2404 from ralexstokes/second-pass-altair-fork
Clarify fork upgrade conditions for Altair
2021-05-11 16:36:23 -06:00
Danny Ryan
09cefa03f3 remov sync signature todo 2021-05-11 16:07:24 -06: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
Danny Ryan
2747882776 use current_Epoch seed when calculating next_sync_committee 2021-05-11 15:18:18 -06:00
Danny Ryan
43ba615b75 Apply suggestions from code review 2021-05-11 14:13:22 -06:00
Alex Stokes
859a7d743e Only allow sync committee period calculation at period boundaries 2021-05-11 12:42:21 -07:00
Alex Stokes
f328f77e65 clarify fork upgrade conditions 2021-05-11 10:58:45 -07:00
Danny Ryan
a9cc036184 remove timely_head penalty 2021-05-11 11:48:26 -06:00
Danny Ryan
5074fcad17 Merge pull request #2363 from ralexstokes/add-altair-fork-transition-test
Add fork transition spec tests
2021-05-11 11:32:00 -06:00
Danny Ryan
488ceed4f9 add notes about repeatedly failing tos erve blocks as being disconncetable 2021-05-11 11:29:37 -06: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
Alex Stokes
d34b2a08d5 Use fork_block index in lieu of fork flag 2021-05-11 10:14:28 -07:00
Alex Stokes
0cc6e15b44 Update tests/formats/transition/README.md
Co-authored-by: Adrian Sutton <adrian@symphonious.net>
2021-05-11 10:14:27 -07:00
Alex Stokes
b71aa3fb56 add transition spec test format 2021-05-11 10:14:23 -07:00
Danny Ryan
5792afca46 Merge branch 'dev' into bbr-ws 2021-05-11 09:51:57 -06:00
Danny Ryan
3c609e02ea pr feedback 2021-05-11 07:28:24 -06:00
Danny Ryan
a6b8574962 test 2021-05-10 16:18:42 -06:00
Danny Ryan
85198fabfa lint 2021-05-10 13:26:43 -06:00
Danny Ryan
77d607a760 fix test 2021-05-10 13:24:14 -06:00
Danny Ryan
d8e2d19ecc spelling 2021-05-10 13:01:31 -06:00
Danny Ryan
ff706e5c7a add logic for handling sync committee off by one issue 2021-05-10 12:57:11 -06:00
Danny Ryan
1494fe6ace add get_inactivity_penalty_deltas back in 2021-05-10 12:21:49 -06:00
Danny Ryan
cd78425570 lint 2021-05-10 10:30:47 -06:00
Danny Ryan
95e2aa6471 Merge branch 'dev' into dankrad-altair-review 2021-05-10 10:23:38 -06:00
Danny Ryan
1564f6217f Merge pull request #2386 from Nashatyrev/fix/effective-balance-max-deviation
[Sharding] Fix the EFFECTIVE_BALANCE_MAX_DOWNWARD_DEVIATION constant calculation
2021-05-10 10:19:00 -06:00
Danny Ryan
71eea1a0f1 Merge pull request #2382 from ethereum/vbuterin-patch-12
Reorganization of config params to put sync committee in one section
2021-05-10 07:48:17 -06:00