2022-03-14 20:58:13 +00:00
|
|
|
//go:build !minimal
|
2021-12-13 09:16:23 +00:00
|
|
|
|
|
|
|
package field_params
|
|
|
|
|
|
|
|
const (
|
2022-09-15 18:47:51 +00:00
|
|
|
Preset = "mainnet"
|
|
|
|
BlockRootsLength = 8192 // SLOTS_PER_HISTORICAL_ROOT
|
|
|
|
StateRootsLength = 8192 // SLOTS_PER_HISTORICAL_ROOT
|
|
|
|
RandaoMixesLength = 65536 // EPOCHS_PER_HISTORICAL_VECTOR
|
|
|
|
HistoricalRootsLength = 16777216 // HISTORICAL_ROOTS_LIMIT
|
|
|
|
ValidatorRegistryLimit = 1099511627776 // VALIDATOR_REGISTRY_LIMIT
|
|
|
|
Eth1DataVotesLength = 2048 // SLOTS_PER_ETH1_VOTING_PERIOD
|
|
|
|
PreviousEpochAttestationsLength = 4096 // MAX_ATTESTATIONS * SLOTS_PER_EPOCH
|
|
|
|
CurrentEpochAttestationsLength = 4096 // MAX_ATTESTATIONS * SLOTS_PER_EPOCH
|
|
|
|
SlashingsLength = 8192 // EPOCHS_PER_SLASHINGS_VECTOR
|
|
|
|
SyncCommitteeLength = 512 // SYNC_COMMITTEE_SIZE
|
|
|
|
RootLength = 32 // RootLength defines the byte length of a Merkle root.
|
|
|
|
BLSSignatureLength = 96 // BLSSignatureLength defines the byte length of a BLSSignature.
|
|
|
|
BLSPubkeyLength = 48 // BLSPubkeyLength defines the byte length of a BLSSignature.
|
|
|
|
MaxTxsPerPayloadLength = 1048576 // MaxTxsPerPayloadLength defines the maximum number of transactions that can be included in a payload.
|
|
|
|
MaxBytesPerTxLength = 1073741824 // MaxBytesPerTxLength defines the maximum number of bytes that can be included in a transaction.
|
|
|
|
FeeRecipientLength = 20 // FeeRecipientLength defines the byte length of a fee recipient.
|
|
|
|
LogsBloomLength = 256 // LogsBloomLength defines the byte length of a logs bloom.
|
|
|
|
VersionLength = 4 // VersionLength defines the byte length of a fork version number.
|
|
|
|
SlotsPerEpoch = 32 // SlotsPerEpoch defines the number of slots per epoch.
|
|
|
|
SyncCommitteeAggregationBytesLength = 16 // SyncCommitteeAggregationBytesLength defines the length of sync committee aggregate bytes.
|
|
|
|
SyncAggregateSyncCommitteeBytesLength = 64 // SyncAggregateSyncCommitteeBytesLength defines the length of sync committee bytes in a sync aggregate.
|
2022-10-12 16:39:19 +00:00
|
|
|
MaxWithdrawalsPerPayload = 16 // MaxWithdrawalsPerPayloadLength defines the maximum number of withdrawals that can be included in a payload.
|
2023-06-10 19:11:41 +00:00
|
|
|
MaxBlobsPerBlock = 6 // MaxBlobsPerBlock defines the maximum number of blobs with respect to consensus rule can be included in a block.
|
2023-05-27 21:50:03 +00:00
|
|
|
MaxBlobCommitmentsPerBlock = 4096 // MaxBlobCommitmentsPerBlock defines the theoretical limit of blobs can be included in a block.
|
2023-11-06 11:49:35 +00:00
|
|
|
LogMaxBlobCommitments = 12 // Log_2 of MaxBlobCommitmentsPerBlock
|
2023-05-18 16:13:18 +00:00
|
|
|
BlobLength = 131072 // BlobLength defines the byte length of a blob.
|
2023-06-15 19:38:08 +00:00
|
|
|
BlobSize = 131072 // defined to match blob.size in bazel ssz codegen
|
2023-11-21 18:44:38 +00:00
|
|
|
KzgCommitmentInclusionProofDepth = 17 // Merkle proof depth for blob_kzg_commitments list item
|
2023-11-21 12:26:39 +00:00
|
|
|
NextSyncCommitteeBranchDepth = 5 // NextSyncCommitteeBranchDepth defines the depth of the next sync committee branch.
|
2021-12-13 09:16:23 +00:00
|
|
|
)
|