You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: config/params/config.go
+14-4
Original file line number
Diff line number
Diff line change
@@ -166,6 +166,7 @@ type BeaconChainConfig struct {
166
166
DenebForkEpoch primitives.Epoch`yaml:"DENEB_FORK_EPOCH" spec:"true"`// DenebForkEpoch is used to represent the assigned fork epoch for deneb.
167
167
ElectraForkVersion []byte`yaml:"ELECTRA_FORK_VERSION" spec:"true"`// ElectraForkVersion is used to represent the fork version for electra.
168
168
ElectraForkEpoch primitives.Epoch`yaml:"ELECTRA_FORK_EPOCH" spec:"true"`// ElectraForkEpoch is used to represent the assigned fork epoch for electra.
169
+
Eip7594ForkEpoch primitives.Epoch`yaml:"EIP7594_FORK_EPOCH" spec:"true"`// EIP7594ForkEpoch is used to represent the assigned fork epoch for peer das.
169
170
170
171
ForkVersionSchedulemap[[fieldparams.VersionLength]byte]primitives.Epoch// Schedule of fork epochs by version.
171
172
ForkVersionNamesmap[[fieldparams.VersionLength]byte]string// Human-readable names of fork versions.
@@ -255,6 +256,13 @@ type BeaconChainConfig struct {
255
256
MaxDepositRequestsPerPayloaduint64`yaml:"MAX_DEPOSIT_REQUESTS_PER_PAYLOAD" spec:"true"`// MaxDepositRequestsPerPayload is the maximum number of execution layer deposits in each payload
256
257
UnsetDepositRequestsStartIndexuint64`yaml:"UNSET_DEPOSIT_REQUESTS_START_INDEX" spec:"true"`// UnsetDepositRequestsStartIndex is used to check the start index for eip6110
257
258
259
+
// PeerDAS Values
260
+
SamplesPerSlotuint64`yaml:"SAMPLES_PER_SLOT"`// SamplesPerSlot refers to the number of random samples a node queries per slot.
261
+
CustodyRequirementuint64`yaml:"CUSTODY_REQUIREMENT"`// CustodyRequirement refers to the minimum amount of subnets a peer must custody and serve samples from.
262
+
MinEpochsForDataColumnSidecarsRequest primitives.Epoch`yaml:"MIN_EPOCHS_FOR_DATA_COLUMN_SIDECARS_REQUESTS"`// MinEpochsForDataColumnSidecarsRequest is the minimum number of epochs the node will keep the data columns for.
263
+
MaxCellsInExtendedMatrixuint64`yaml:"MAX_CELLS_IN_EXTENDED_MATRIX" spec:"true"`// MaxCellsInExtendedMatrix is the full data of one-dimensional erasure coding extended blobs (in row major format).
264
+
NumberOfColumnsuint64`yaml:"NUMBER_OF_COLUMNS" spec:"true"`// NumberOfColumns in the extended data matrix.
265
+
258
266
// Networking Specific Parameters
259
267
GossipMaxSizeuint64`yaml:"GOSSIP_MAX_SIZE" spec:"true"`// GossipMaxSize is the maximum allowed size of uncompressed gossip messages.
260
268
MaxChunkSizeuint64`yaml:"MAX_CHUNK_SIZE" spec:"true"`// MaxChunkSize is the maximum allowed size of uncompressed req/resp chunked responses.
@@ -272,10 +280,6 @@ type BeaconChainConfig struct {
272
280
AttestationSubnetPrefixBitsuint64`yaml:"ATTESTATION_SUBNET_PREFIX_BITS" spec:"true"`// AttestationSubnetPrefixBits is defined as (ceillog2(ATTESTATION_SUBNET_COUNT) + ATTESTATION_SUBNET_EXTRA_BITS).
273
281
SubnetsPerNodeuint64`yaml:"SUBNETS_PER_NODE" spec:"true"`// SubnetsPerNode is the number of long-lived subnets a beacon node should be subscribed to.
274
282
NodeIdBitsuint64`yaml:"NODE_ID_BITS" spec:"true"`// NodeIdBits defines the bit length of a node id.
275
-
276
-
// PeerDAS
277
-
NumberOfColumnsuint64`yaml:"NUMBER_OF_COLUMNS" spec:"true"`// NumberOfColumns in the extended data matrix.
278
-
MaxCellsInExtendedMatrixuint64`yaml:"MAX_CELLS_IN_EXTENDED_MATRIX" spec:"true"`// MaxCellsInExtendedMatrix is the full data of one-dimensional erasure coding extended blobs (in row major format).
279
283
}
280
284
281
285
// InitializeForkSchedule initializes the schedules forks baked into the config.
0 commit comments