Commit Graph

6447 Commits

Author SHA1 Message Date
protolambda 1636a1df58
reduce duplicate combination code, and no in-place updates 2021-05-19 19:18:42 +02:00
Diederik Loerakker 6193c7c255
Update configs/README.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-05-19 19:08:59 +02:00
protolambda c080324e08
set RNG for test case for consistent test outputs 2021-05-19 19:07:24 +02:00
Diederik Loerakker 76cc964a37
Update presets/README.md
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-05-19 17:58:57 +02:00
protolambda 46bb8273df
update ejection balance config references 2021-05-19 17:43:56 +02:00
protolambda ff021da551
change line formatting, new refence as config var implicitly takes more space 2021-05-19 17:21:30 +02:00
protolambda 291168e1e3
clarify config/preset separation, address review comments by @djrtwo 2021-05-19 17:15:34 +02:00
Alex Stokes a7346ae384
Add Altair fork tests to test generators 2021-05-18 18:05:07 -07:00
Alex Stokes 7eba1612cf
Add fork transition test that finalizes across fork boundary 2021-05-18 17:43:34 -07:00
Alex Stokes 0ec1ec77b8
Expose attestation helper in pyspec tests 2021-05-18 17:25:51 -07:00
Danny Ryan 92a8ca73ab
Merge pull request #2423 from ethereum/alpha.5
bump VERSION.txt to alpha.5
2021-05-18 16:07:21 -06:00
Danny Ryan 19a8076b89
bump VERSION.txt to alpha.5 2021-05-18 15:57:44 -06:00
Danny Ryan ba551b572c
Merge pull request #2422 from terencechain/patch-121
Altair fork: add a link
2021-05-18 15:57:00 -06:00
terence tsao c03c72a543
Altair fork: add a link 2021-05-18 13:50:46 -07:00
protolambda 48e1ef193a
update docs with config usage 2021-05-18 21:31:27 +02:00
protolambda 90c4a7599b
fix lint 2021-05-18 20:53:04 +02:00
protolambda 925f0508ce
test generator fixes 2021-05-18 20:13:19 +02:00
Danny Ryan 248363ce21
Merge pull request #2419 from terencechain/patch-120
Fix `PARTICIPATION_FLAG_WEIGHTS` to use correct head weight
2021-05-18 11:27:36 -06:00
protolambda fb82472b46
update test generators 2021-05-18 18:48:58 +02:00
Diederik Loerakker 943d334173
Merge pull request #2421 from ericsson49/ericsson49/fix_sharding_process_block
Fix typing problem in `sharding.process_block`
2021-05-18 16:27:32 +02:00
protolambda a57ff5fc01
select preset with cli arg 2021-05-18 16:17:02 +02: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 0894125bf7
update test util 2021-05-18 13:59:26 +02:00
protolambda 1e7c5b1f83
fix config usage of MIN_GENESIS_ACTIVE_VALIDATOR_COUNT 2021-05-18 13:56:42 +02:00
ericsson 441992c779 Fix typing problem in `sharding.process_block` 2021-05-18 14:14:43 +03:00
protolambda d3bf218361
update config usages 2021-05-18 12:56:34 +02:00
protolambda ccc6679e21
config as dataclass 2021-05-18 12:48:42 +02:00
protolambda 6f68913e11
implement pyspec build targets 2021-05-18 12:12:01 +02:00
protolambda ef8d6003d3
fix inactivity penalties markdown table 2021-05-18 10:07:35 +02:00
protolambda 9030270369
update config util to make preset loading optional, update docs 2021-05-18 09:58:54 +02:00
protolambda cd494707c4
fix lint in config util 2021-05-18 09:58:54 +02:00
protolambda d0fef3bf3f
update tests with new config util 2021-05-18 09:58:50 +02:00
protolambda 79d0fa037f
updated config util 2021-05-18 09:55:25 +02:00
protolambda 2c7a68406f
update config section markdown table header 2021-05-18 09:55:25 +02:00
protolambda e4593d2d0c
update with configs<>presets separation 2021-05-18 09:55:20 +02:00
protolambda 8148c427b0
ignore tmp files from TOC tool 2021-05-18 09:33:07 +02:00
protolambda c1f1adb4d1
Custody Game constant/preset/config separation 2021-05-18 09:33:07 +02:00
protolambda 4941a97829
Sharding constant/preset/config separation 2021-05-18 09:33:05 +02:00
protolambda 7d59016bb8
Merge constant/preset/config separation 2021-05-18 09:31:07 +02:00
protolambda 7689ebb2bd
Altair constant/preset/config separation 2021-05-18 09:28:09 +02:00
protolambda b9ffd8f640
Phase0 constant/config/preset separation 2021-05-18 09:20:41 +02:00
terence tsao a7344b3ee1
Fix `PARTICIPATION_FLAG_WEIGHTS` to use correct head weight 2021-05-17 21:35:43 -07:00
Danny Ryan f4aa9f8c65
Merge pull request #2418 from ethereum/sharding-conf
sharding: minor config fixes
2021-05-17 17:08:29 -06:00
protolambda fcf37895ba
remove duplicate sharding config var, fix minimal-sharding-config fork epoch name 2021-05-18 00:48:59 +02:00
Danny Ryan 3209967514
Merge pull request #2416 from terencechain/patch-119
Sharding: Call `get_committee_count_per_slot` before slot loop
2021-05-17 10:32:17 -06:00
terence tsao abda2dd5fa
Sharding: move `get_committee_count_per_slot` to the outside 2021-05-14 12:02:46 -07:00
Danny Ryan 7e0cc360e9
Merge pull request #2415 from ethereum/dankrad-review
minor review from dankrad on release pr
2021-05-14 10:08:06 -06:00
Danny Ryan c87333face
minor review from dankrad on release pr 2021-05-14 10:05:54 -06:00
Danny Ryan 021e6bb3f7
Merge pull request #2413 from ethereum/remove-error-code
remove resourceunavailable for more discussion
2021-05-14 08:36:03 -06:00