Commit Graph

32 Commits

Author SHA1 Message Date
Danny Ryan 1235e58a8d
Merge pull request #2325 from ethereum/pyspec-constants
Refactor pyspec `context.py` by adding `typing.py` and `constants.py`
2021-04-13 06:02:25 -05:00
Hsiao-Wei Wang cd43d64809
Move constants to `eth2spec.test.helpers.constants` 2021-04-12 22:34:00 +08:00
Alex Stokes 66905f4fa6
update test to work for both minimal and mainnet config 2021-04-08 18:25:58 -07:00
Alex Stokes e4e65295b6
modify assignment test when sync committee size >= validator count 2021-04-08 18:00:58 -07:00
Alex Stokes 3fd4974430
iterate over the correct number of subcommittees 2021-04-08 17:44:54 -07:00
Alex Stokes 749b49898a
file reorg 2021-04-08 17:44:54 -07:00
Alex Stokes 4678ffc794
Update tests/core/pyspec/eth2spec/test/altair/validator/test_validator.py
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-04-08 17:44:53 -07:00
Alex Stokes 5e43ad69cf
Add some basic tests for Altair validator guide 2021-04-08 17:44:53 -07:00
Hsiao-Wei Wang 2def461298
Merge branch 'dev' into altair_incentives 2021-03-31 00:53:58 +08:00
protolambda 0c94be4204
clean up more phase1 test references 2021-03-27 00:14:32 +01:00
Danny Ryan d773c6ae9e
lint from pr 2021-03-26 08:28:34 -06:00
Barnabé Monnot d1c9b8bade Fix variable name 2021-03-26 19:03:12 +08:00
Barnabé Monnot 582965fd0b Deprecate PROPOSER_REWARD_QUOTIENT from tests 2021-03-26 18:57:02 +08:00
Barnabé Monnot 71d03a411c Scale up weights; use existing constants and new PROPOSER_WEIGHT 2021-03-26 18:36:49 +08:00
Barnabé Monnot 59134fb0ae Modify incentives to preserve invariant 2021-03-26 12:18:51 +08:00
Danny Ryan 1707978189
fix v1.1.0-alpha.1 generators 2021-03-17 10:32:23 -06:00
Danny Ryan e2c9a15aaf
Merge pull request #2246 from ethereum/sync_rewards
refactor sync committee rewards
2021-03-16 20:27:04 -06:00
Danny Ryan b0a9fc8277
clean up and extend sync committee rewards tests 2021-03-16 11:18:26 -06:00
Hsiao-Wei Wang d3c9eacd14
Disable MAINNET test_valid_signature_future_committee 2021-03-17 00:28:12 +08:00
Justin Drake 27e88a2484 (WIP) refactor sync committee rewards 2021-03-16 15:30:25 +00:00
Danny Ryan 0a97f65729
Merge pull request #2243 from ethereum/fix-altair-gens
fix altair test generators
2021-03-16 08:26:29 -06:00
protolambda 1eaa3c1742
Define SyncAggregate to bundle sync committee bits and signature, update tests to better isolate the state-change, introduce helper function for future tests, and update test doc 2021-03-15 21:55:36 +01:00
Danny Ryan 06eed71856
fix altair test generators 2021-03-15 13:10:19 -06:00
Hsiao-Wei Wang 1a4bbdfd79
Disable `test_sync_committees_progress` + mainnet config 2021-03-16 00:16:27 +08:00
Danny Ryan b8bf7f0f80
Merge pull request #2236 from ethereum/justin_altair_cleanups
Altair cosmetic cleanups plus a couple substantive changes
2021-03-15 08:57:35 -06:00
Justin Drake e7ebd08d69 Altair cosmetic cleanups plus a couple substantive changes 2021-03-15 11:08:41 +00:00
Danny Ryan 65dcf897c2
Merge pull request #2147 from ethereum/lightclient-sync-exe
Make `sync-protocol.md` pass the linter and add basic tests
2021-03-12 07:52:45 -07:00
Hsiao-Wei Wang a1e74b2c18
Fix conflicts 2021-03-12 01:05:26 +08:00
Hsiao-Wei Wang c34eae33d0
Merge branch 'dev' into lightclient-sync-exe 2021-03-12 00:49:29 +08:00
Danny Ryan 79f351cfca
Merge branch 'dev' into leak-scores 2021-03-11 09:28:58 -07:00
Hsiao-Wei Wang b44e576e95
LIGHTCLIENT_PATCH/HF1 -> ALTAIR 2021-03-11 21:32:00 +08:00
Hsiao-Wei Wang 69489d1541
Rename folders and file names to `altair` 2021-03-11 21:12:46 +08:00