File tree Expand file tree Collapse file tree 5 files changed +14
-12
lines changed
native/ssz_nif/src/ssz_types Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -135,12 +135,14 @@ ATTESTATION_SUBNET_PREFIX_BITS: 6
135135# Deneb
136136# `2**7` (=128)
137137MAX_REQUEST_BLOCKS_DENEB : 128
138- # MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
139- MAX_REQUEST_BLOB_SIDECARS : 768
140138# `2**12` (= 4096 epochs, ~18 days)
141139MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS : 4096
142140# `6`
143141BLOB_SIDECAR_SUBNET_COUNT : 6
142+ # # 6 blobs
143+ MAX_BLOBS_PER_BLOCK : 6
144+ # MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK (= 128 * 6) sidecars
145+ MAX_REQUEST_BLOB_SIDECARS : 768
144146
145147# Whisk
146148# `Epoch(2**8)`
Original file line number Diff line number Diff line change @@ -135,12 +135,14 @@ ATTESTATION_SUBNET_PREFIX_BITS: 6
135135# Deneb
136136# `2**7` (=128)
137137MAX_REQUEST_BLOCKS_DENEB : 128
138- # MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
139- MAX_REQUEST_BLOB_SIDECARS : 768
140138# `2**12` (= 4096 epochs, ~18 days)
141139MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS : 4096
142140# `6`
143141BLOB_SIDECAR_SUBNET_COUNT : 6
142+ # # 6 blobs
143+ MAX_BLOBS_PER_BLOCK : 6
144+ # MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK (= 128 * 6) sidecars
145+ MAX_REQUEST_BLOB_SIDECARS : 768
144146
145147# Whisk
146148WHISK_EPOCHS_PER_SHUFFLING_PHASE : 4
Original file line number Diff line number Diff line change 55# `uint64(4096)`
66FIELD_ELEMENTS_PER_BLOB : 4096
77# [customized]
8- MAX_BLOB_COMMITMENTS_PER_BLOCK : 16
9- # `uint64(6)`
10- MAX_BLOBS_PER_BLOCK : 6
11- # [customized] `floorlog2(get_generalized_index(BeaconBlockBody, 'blob_kzg_commitments')) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 4 = 9
12- KZG_COMMITMENT_INCLUSION_PROOF_DEPTH : 9
8+ MAX_BLOB_COMMITMENTS_PER_BLOCK : 32
9+ # [customized] floorlog2(get_generalized_index(BeaconBlockBody, 'blob_kzg_commitments')) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK) (= 4 + 1 + 5 = 10)
10+ KZG_COMMITMENT_INCLUSION_PROOF_DEPTH : 10
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ defmodule Types.BeaconBlockBody do
3838 # max MAX_DEPOSITS
3939 deposits: list ( Types.Deposit . t ( ) ) ,
4040 # max MAX_VOLUNTARY_EXITS
41- voluntary_exits: list ( Types.VoluntaryExit . t ( ) ) ,
41+ voluntary_exits: list ( Types.SignedVoluntaryExit . t ( ) ) ,
4242 sync_aggregate: Types.SyncAggregate . t ( ) ,
4343 execution_payload: Types.ExecutionPayload . t ( ) ,
4444 # max MAX_BLS_TO_EXECUTION_CHANGES
Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ impl Config for Minimal {
131131 type SyncCommitteeSize = U32 ;
132132 type MaxWithdrawalsPerPayload = U4 ;
133133 type FieldElementsPerBlob = U4096 ;
134- type MaxBlobCommitmentsPerBlock = U16 ;
135- type KzgCommitmentInclusionProofDepth = U9 ;
134+ type MaxBlobCommitmentsPerBlock = U32 ;
135+ type KzgCommitmentInclusionProofDepth = U10 ;
136136 type MaxCommitteesPerSlot = U4 ;
137137 // Electra added fields
138138 type MaxDepositRequestsPerPayload = U4 ;
You can’t perform that action at this time.
0 commit comments