Move new constants to configurations
This commit is contained in:
parent
ff9aa13462
commit
1449007992
|
@ -93,6 +93,9 @@ CHURN_LIMIT_QUOTIENT: 65536
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# 40%
|
# 40%
|
||||||
PROPOSER_SCORE_BOOST: 40
|
PROPOSER_SCORE_BOOST: 40
|
||||||
|
# 6000ms
|
||||||
|
LATE_BLOCK_CUTOFF_MS: 6000
|
||||||
|
|
||||||
|
|
||||||
# Deposit contract
|
# Deposit contract
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
|
@ -131,7 +134,21 @@ ATTESTATION_SUBNET_EXTRA_BITS: 0
|
||||||
# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
|
# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
|
||||||
ATTESTATION_SUBNET_PREFIX_BITS: 6
|
ATTESTATION_SUBNET_PREFIX_BITS: 6
|
||||||
|
|
||||||
# Deneb
|
|
||||||
|
# Validator duties
|
||||||
|
# ---------------------------------------------------------------
|
||||||
|
# 6000ms
|
||||||
|
ATTESTATION_DUE_MS: 6000
|
||||||
|
# 9000ms
|
||||||
|
AGGREGATE_DUE_MS: 9000
|
||||||
|
# 6000ms
|
||||||
|
SYNC_MESSAGE_DUE_MS: 6000
|
||||||
|
# 9000ms
|
||||||
|
CONTRIBUTION_DUE_MS: 9000
|
||||||
|
|
||||||
|
|
||||||
|
# Deneb:EIP4844
|
||||||
|
# ---------------------------------------------------------------
|
||||||
# `2**7` (=128)
|
# `2**7` (=128)
|
||||||
MAX_REQUEST_BLOCKS_DENEB: 128
|
MAX_REQUEST_BLOCKS_DENEB: 128
|
||||||
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
|
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
|
||||||
|
@ -141,7 +158,9 @@ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
|
||||||
# `6`
|
# `6`
|
||||||
BLOB_SIDECAR_SUBNET_COUNT: 6
|
BLOB_SIDECAR_SUBNET_COUNT: 6
|
||||||
|
|
||||||
|
|
||||||
# Whisk
|
# Whisk
|
||||||
|
# ---------------------------------------------------------------
|
||||||
# `Epoch(2**8)`
|
# `Epoch(2**8)`
|
||||||
WHISK_EPOCHS_PER_SHUFFLING_PHASE: 256
|
WHISK_EPOCHS_PER_SHUFFLING_PHASE: 256
|
||||||
# `Epoch(2)`
|
# `Epoch(2)`
|
||||||
|
|
|
@ -92,6 +92,8 @@ CHURN_LIMIT_QUOTIENT: 32
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
# 40%
|
# 40%
|
||||||
PROPOSER_SCORE_BOOST: 40
|
PROPOSER_SCORE_BOOST: 40
|
||||||
|
# [customized] 3000ms
|
||||||
|
LATE_BLOCK_CUTOFF_MS: 3000
|
||||||
|
|
||||||
|
|
||||||
# Deposit contract
|
# Deposit contract
|
||||||
|
@ -132,7 +134,21 @@ ATTESTATION_SUBNET_EXTRA_BITS: 0
|
||||||
# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
|
# ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS
|
||||||
ATTESTATION_SUBNET_PREFIX_BITS: 6
|
ATTESTATION_SUBNET_PREFIX_BITS: 6
|
||||||
|
|
||||||
# Deneb
|
|
||||||
|
# Validator duties
|
||||||
|
# ---------------------------------------------------------------
|
||||||
|
# [customized] 3000ms
|
||||||
|
ATTESTATION_DUE_MS: 3000
|
||||||
|
# [customized] 4500ms
|
||||||
|
AGGREGATE_DUE_MS: 4500
|
||||||
|
# [customized] 3000ms
|
||||||
|
SYNC_MESSAGE_DUE_MS: 3000
|
||||||
|
# [customized] 4500ms
|
||||||
|
CONTRIBUTION_DUE_MS: 4500
|
||||||
|
|
||||||
|
|
||||||
|
# Deneb:EIP4844
|
||||||
|
# ---------------------------------------------------------------
|
||||||
# `2**7` (=128)
|
# `2**7` (=128)
|
||||||
MAX_REQUEST_BLOCKS_DENEB: 128
|
MAX_REQUEST_BLOCKS_DENEB: 128
|
||||||
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
|
# MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
|
||||||
|
@ -142,6 +158,10 @@ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
|
||||||
# `6`
|
# `6`
|
||||||
BLOB_SIDECAR_SUBNET_COUNT: 6
|
BLOB_SIDECAR_SUBNET_COUNT: 6
|
||||||
|
|
||||||
|
|
||||||
# Whisk
|
# Whisk
|
||||||
|
# ---------------------------------------------------------------
|
||||||
|
# [customized]
|
||||||
WHISK_EPOCHS_PER_SHUFFLING_PHASE: 4
|
WHISK_EPOCHS_PER_SHUFFLING_PHASE: 4
|
||||||
|
# [customized]
|
||||||
WHISK_PROPOSER_SELECTION_GAP: 1
|
WHISK_PROPOSER_SELECTION_GAP: 1
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [Containers](#containers)
|
- [Containers](#containers)
|
||||||
- [Constants](#constants)
|
- [Configurations](#configurations)
|
||||||
- [Helpers](#helpers)
|
- [Helpers](#helpers)
|
||||||
- [Extended `PayloadAttributes`](#extended-payloadattributes)
|
- [Extended `PayloadAttributes`](#extended-payloadattributes)
|
||||||
- [`is_data_available`](#is_data_available)
|
- [`is_data_available`](#is_data_available)
|
||||||
|
@ -23,7 +23,7 @@ This is the modification of the fork choice accompanying the Deneb upgrade.
|
||||||
|
|
||||||
## Containers
|
## Containers
|
||||||
|
|
||||||
## Constants
|
## Configurations
|
||||||
|
|
||||||
| Name | Value |
|
| Name | Value |
|
||||||
| ---------------------- | ----------- |
|
| ---------------------- | ----------- |
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
- [Introduction](#introduction)
|
- [Introduction](#introduction)
|
||||||
- [Prerequisites](#prerequisites)
|
- [Prerequisites](#prerequisites)
|
||||||
- [Constants](#constants)
|
- [Configurations](#configurations)
|
||||||
- [Helpers](#helpers)
|
- [Helpers](#helpers)
|
||||||
- [`BlobsBundle`](#blobsbundle)
|
- [`BlobsBundle`](#blobsbundle)
|
||||||
- [Modified `GetPayloadResponse`](#modified-getpayloadresponse)
|
- [Modified `GetPayloadResponse`](#modified-getpayloadresponse)
|
||||||
|
@ -45,7 +45,7 @@ All behaviors and definitions defined in this document, and documents it extends
|
||||||
All terminology, constants, functions, and protocol mechanics defined in the updated [Beacon Chain doc of Deneb](./beacon-chain.md) are requisite for this document and used throughout.
|
All terminology, constants, functions, and protocol mechanics defined in the updated [Beacon Chain doc of Deneb](./beacon-chain.md) are requisite for this document and used throughout.
|
||||||
Please see related Beacon Chain doc before continuing and use them as a reference throughout.
|
Please see related Beacon Chain doc before continuing and use them as a reference throughout.
|
||||||
|
|
||||||
## Constants
|
## Configurations
|
||||||
|
|
||||||
| Name | Value |
|
| Name | Value |
|
||||||
| --------------------- | ----------- |
|
| --------------------- | ----------- |
|
||||||
|
|
Loading…
Reference in New Issue