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
135
135
# Deneb
136
136
# `2**7` (=128)
137
137
MAX_REQUEST_BLOCKS_DENEB : 128
138
- # MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
139
- MAX_REQUEST_BLOB_SIDECARS : 768
140
138
# `2**12` (= 4096 epochs, ~18 days)
141
139
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS : 4096
142
140
# `6`
143
141
BLOB_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
144
146
145
147
# Whisk
146
148
# `Epoch(2**8)`
Original file line number Diff line number Diff line change @@ -135,12 +135,14 @@ ATTESTATION_SUBNET_PREFIX_BITS: 6
135
135
# Deneb
136
136
# `2**7` (=128)
137
137
MAX_REQUEST_BLOCKS_DENEB : 128
138
- # MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK
139
- MAX_REQUEST_BLOB_SIDECARS : 768
140
138
# `2**12` (= 4096 epochs, ~18 days)
141
139
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS : 4096
142
140
# `6`
143
141
BLOB_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
144
146
145
147
# Whisk
146
148
WHISK_EPOCHS_PER_SHUFFLING_PHASE : 4
Original file line number Diff line number Diff line change 5
5
# `uint64(4096)`
6
6
FIELD_ELEMENTS_PER_BLOB : 4096
7
7
# [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
38
38
# max MAX_DEPOSITS
39
39
deposits: list ( Types.Deposit . t ( ) ) ,
40
40
# max MAX_VOLUNTARY_EXITS
41
- voluntary_exits: list ( Types.VoluntaryExit . t ( ) ) ,
41
+ voluntary_exits: list ( Types.SignedVoluntaryExit . t ( ) ) ,
42
42
sync_aggregate: Types.SyncAggregate . t ( ) ,
43
43
execution_payload: Types.ExecutionPayload . t ( ) ,
44
44
# max MAX_BLS_TO_EXECUTION_CHANGES
Original file line number Diff line number Diff line change @@ -131,8 +131,8 @@ impl Config for Minimal {
131
131
type SyncCommitteeSize = U32 ;
132
132
type MaxWithdrawalsPerPayload = U4 ;
133
133
type FieldElementsPerBlob = U4096 ;
134
- type MaxBlobCommitmentsPerBlock = U16 ;
135
- type KzgCommitmentInclusionProofDepth = U9 ;
134
+ type MaxBlobCommitmentsPerBlock = U32 ;
135
+ type KzgCommitmentInclusionProofDepth = U10 ;
136
136
type MaxCommitteesPerSlot = U4 ;
137
137
// Electra added fields
138
138
type MaxDepositRequestsPerPayload = U4 ;
You can’t perform that action at this time.
0 commit comments