Fix the type of `EPOCHS_PER_SYNC_COMMITTEE_PERIOD` and update the config files
This commit is contained in:
parent
d383a14213
commit
6a9b3671f0
|
@ -10,22 +10,22 @@ MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: 64
|
||||||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2
|
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2
|
||||||
|
|
||||||
|
|
||||||
# Misc
|
# Sync committee
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# 2**10 (= 1,024)
|
# 2**10 (= 1,024)
|
||||||
SYNC_COMMITTEE_SIZE: 1024
|
SYNC_COMMITTEE_SIZE: 1024
|
||||||
# 2**6 (= 64)
|
# 2**6 (= 64)
|
||||||
SYNC_PUBKEYS_PER_AGGREGATE: 64
|
SYNC_PUBKEYS_PER_AGGREGATE: 64
|
||||||
# 2**2 (= 4)
|
|
||||||
INACTIVITY_SCORE_BIAS: 4
|
|
||||||
|
|
||||||
|
|
||||||
# Time parameters
|
|
||||||
# ---------------------------------------------------------------
|
|
||||||
# 2**8 (= 256)
|
# 2**8 (= 256)
|
||||||
EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 256
|
EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 256
|
||||||
|
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
# ---------------------------------------------------------------
|
||||||
|
# 2**2 (= 4)
|
||||||
|
INACTIVITY_SCORE_BIAS: 4
|
||||||
|
|
||||||
|
|
||||||
# Signature domains
|
# Signature domains
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
DOMAIN_SYNC_COMMITTEE: 0x07000000
|
DOMAIN_SYNC_COMMITTEE: 0x07000000
|
||||||
|
|
|
@ -10,22 +10,22 @@ MIN_SLASHING_PENALTY_QUOTIENT_ALTAIR: 64
|
||||||
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2
|
PROPORTIONAL_SLASHING_MULTIPLIER_ALTAIR: 2
|
||||||
|
|
||||||
|
|
||||||
# Misc
|
# Sync committee
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# [customized]
|
# [customized]
|
||||||
SYNC_COMMITTEE_SIZE: 32
|
SYNC_COMMITTEE_SIZE: 32
|
||||||
# [customized]
|
# [customized]
|
||||||
SYNC_PUBKEYS_PER_AGGREGATE: 16
|
SYNC_PUBKEYS_PER_AGGREGATE: 16
|
||||||
# 2**2 (= 4)
|
|
||||||
INACTIVITY_SCORE_BIAS: 4
|
|
||||||
|
|
||||||
|
|
||||||
# Time parameters
|
|
||||||
# ---------------------------------------------------------------
|
|
||||||
# [customized]
|
# [customized]
|
||||||
EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 8
|
EPOCHS_PER_SYNC_COMMITTEE_PERIOD: 8
|
||||||
|
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
# ---------------------------------------------------------------
|
||||||
|
# 2**2 (= 4)
|
||||||
|
INACTIVITY_SCORE_BIAS: 4
|
||||||
|
|
||||||
|
|
||||||
# Signature domains
|
# Signature domains
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
DOMAIN_SYNC_COMMITTEE: 0x07000000
|
DOMAIN_SYNC_COMMITTEE: 0x07000000
|
||||||
|
@ -50,6 +50,7 @@ MAX_VALID_LIGHT_CLIENT_UPDATES: 32
|
||||||
# [customized]
|
# [customized]
|
||||||
LIGHT_CLIENT_UPDATE_TIMEOUT: 32
|
LIGHT_CLIENT_UPDATE_TIMEOUT: 32
|
||||||
|
|
||||||
|
|
||||||
# Validator
|
# Validator
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# 2**2 (= 4)
|
# 2**2 (= 4)
|
||||||
|
|
|
@ -120,7 +120,7 @@ This patch updates a few configuration values to move penalty parameters toward
|
||||||
| - | - | - | - |
|
| - | - | - | - |
|
||||||
| `SYNC_COMMITTEE_SIZE` | `uint64(2**10)` (= 1,024) | | |
|
| `SYNC_COMMITTEE_SIZE` | `uint64(2**10)` (= 1,024) | | |
|
||||||
| `SYNC_PUBKEYS_PER_AGGREGATE` | `uint64(2**6)` (= 64) | | |
|
| `SYNC_PUBKEYS_PER_AGGREGATE` | `uint64(2**6)` (= 64) | | |
|
||||||
| `EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | `Epoch(2**8)` (= 256) | epochs | ~27 hours |
|
| `EPOCHS_PER_SYNC_COMMITTEE_PERIOD` | `uint64(2**8)` (= 256) | epochs | ~27 hours |
|
||||||
|
|
||||||
### Misc
|
### Misc
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue