mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 04:24:05 +00:00
Restore some constants to pass the constants & presets test
This commit is contained in:
parent
ff140689da
commit
74fc34eef2
@ -125,6 +125,8 @@ const
|
|||||||
MIN_EPOCHS_TO_INACTIVITY_PENALTY* = 2'u64^2 ##\
|
MIN_EPOCHS_TO_INACTIVITY_PENALTY* = 2'u64^2 ##\
|
||||||
## epochs (25.6 minutes)
|
## epochs (25.6 minutes)
|
||||||
|
|
||||||
|
EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS* = 16384
|
||||||
|
|
||||||
# State vector lengths
|
# State vector lengths
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/configs/mainnet.yaml#L98
|
# https://github.com/ethereum/eth2.0-specs/blob/v0.9.2/configs/mainnet.yaml#L98
|
||||||
@ -180,5 +182,7 @@ const
|
|||||||
# https://github.com/ethereum/eth2.0-specs/blob/v0.9.4/specs/core/1_custody-game.md#constants
|
# https://github.com/ethereum/eth2.0-specs/blob/v0.9.4/specs/core/1_custody-game.md#constants
|
||||||
# TODO those are included in minimal.yaml but not mainnet.yaml
|
# TODO those are included in minimal.yaml but not mainnet.yaml
|
||||||
# Why?
|
# Why?
|
||||||
|
# EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS* = 4096 # epochs
|
||||||
# EPOCHS_PER_CUSTODY_PERIOD* = 4
|
# EPOCHS_PER_CUSTODY_PERIOD* = 4
|
||||||
# CUSTODY_PERIOD_TO_RANDAO_PADDING* = 4
|
# CUSTODY_PERIOD_TO_RANDAO_PADDING* = 4
|
||||||
|
|
||||||
|
@ -164,3 +164,4 @@ const
|
|||||||
EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS* = 4096 # epochs
|
EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS* = 4096 # epochs
|
||||||
EPOCHS_PER_CUSTODY_PERIOD* = 4
|
EPOCHS_PER_CUSTODY_PERIOD* = 4
|
||||||
CUSTODY_PERIOD_TO_RANDAO_PADDING* = 4
|
CUSTODY_PERIOD_TO_RANDAO_PADDING* = 4
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user