Merge pull request #2371 from ralexstokes/adjust-sync-comm-params

Adjust sync committee size and duration
This commit is contained in:
Danny Ryan 2021-05-06 12:50:21 -06:00 committed by GitHub
commit 2a4eaa507c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -12,16 +12,16 @@ PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2
# Misc # Misc
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 2**10 (= 1,024) # 2**9 (= 512)
SYNC_COMMITTEE_SIZE: 1024 SYNC_COMMITTEE_SIZE: 512
# 2**2 (= 4) # 2**2 (= 4)
INACTIVITY_SCORE_BIAS: 4 INACTIVITY_SCORE_BIAS: 4
# Time parameters # Time parameters
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 2**8 (= 256) # 2**9 (= 512)
EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 256 EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 512
# Signature domains # Signature domains

View File

@ -118,14 +118,14 @@ This patch updates a few configuration values to move penalty parameters closer
| Name | Value | | Name | Value |
| - | - | | - | - |
| `SYNC_COMMITTEE_SIZE` | `uint64(2**10)` (= 1,024) | | `SYNC_COMMITTEE_SIZE` | `uint64(2**9)` (= 512) |
| `INACTIVITY_SCORE_BIAS` | `uint64(4)` | | `INACTIVITY_SCORE_BIAS` | `uint64(4)` |
### Time parameters ### Time parameters
| Name | Value | Unit | Duration | | Name | Value | Unit | Duration |
| - | - | :-: | :-: | | - | - | :-: | :-: |
| `EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | `Epoch(2**8)` (= 256) | epochs | ~27 hours | | `EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | `uint64(2**9)` (= 512) | epochs | ~54 hours |
### Domain types ### Domain types