Skip to content

Commit 2e86585

Browse files
committed
Move from preset to config
1 parent 1095d60 commit 2e86585

File tree

8 files changed

+15
-11
lines changed

8 files changed

+15
-11
lines changed

common/eth2_network_config/built_in_network_configs/chiado/config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@ MAX_REQUEST_BLOB_SIDECARS: 768
136136
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 16384
137137
# `6`
138138
BLOB_SIDECAR_SUBNET_COUNT: 6
139+
# `uint64(6)`
140+
MAX_BLOBS_PER_BLOCK: 6
139141

140142
# DAS
141143
CUSTODY_REQUIREMENT: 4
142144
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
143145
NUMBER_OF_COLUMNS: 128
144-
SAMPLES_PER_SLOT: 8
146+
SAMPLES_PER_SLOT: 8

common/eth2_network_config/built_in_network_configs/gnosis/config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,11 @@ MAX_REQUEST_BLOB_SIDECARS: 768
119119
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 16384
120120
# `6`
121121
BLOB_SIDECAR_SUBNET_COUNT: 6
122+
# `uint64(6)`
123+
MAX_BLOBS_PER_BLOCK: 6
122124

123125
# DAS
124126
CUSTODY_REQUIREMENT: 4
125127
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
126128
NUMBER_OF_COLUMNS: 128
127-
SAMPLES_PER_SLOT: 8
129+
SAMPLES_PER_SLOT: 8

common/eth2_network_config/built_in_network_configs/holesky/config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,11 @@ MAX_REQUEST_BLOB_SIDECARS: 768
123123
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
124124
# `6`
125125
BLOB_SIDECAR_SUBNET_COUNT: 6
126+
# `uint64(6)`
127+
MAX_BLOBS_PER_BLOCK: 6
126128

127129
# DAS
128130
CUSTODY_REQUIREMENT: 4
129131
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
130132
NUMBER_OF_COLUMNS: 128
131-
SAMPLES_PER_SLOT: 8
133+
SAMPLES_PER_SLOT: 8

common/eth2_network_config/built_in_network_configs/mainnet/config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,11 @@ MAX_REQUEST_BLOB_SIDECARS: 768
145145
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
146146
# `6`
147147
BLOB_SIDECAR_SUBNET_COUNT: 6
148+
# `uint64(6)`
149+
MAX_BLOBS_PER_BLOCK: 6
148150

149151
# DAS
150152
CUSTODY_REQUIREMENT: 4
151153
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
152154
NUMBER_OF_COLUMNS: 128
153-
SAMPLES_PER_SLOT: 8
155+
SAMPLES_PER_SLOT: 8

common/eth2_network_config/built_in_network_configs/sepolia/config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,11 @@ MAX_REQUEST_BLOB_SIDECARS: 768
119119
MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
120120
# `6`
121121
BLOB_SIDECAR_SUBNET_COUNT: 6
122+
# `uint64(6)`
123+
MAX_BLOBS_PER_BLOCK: 6
122124

123125
# DAS
124126
CUSTODY_REQUIREMENT: 4
125127
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
126128
NUMBER_OF_COLUMNS: 128
127-
SAMPLES_PER_SLOT: 8
129+
SAMPLES_PER_SLOT: 8

consensus/types/presets/gnosis/deneb.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@
88
FIELD_ELEMENTS_PER_BLOB: 4096
99
# `uint64(2**12)` (= 4096)
1010
MAX_BLOB_COMMITMENTS_PER_BLOCK: 4096
11-
# `uint64(6)`
12-
MAX_BLOBS_PER_BLOCK: 6
1311
# `floorlog2(BLOB_KZG_COMMITMENTS_GINDEX) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 12 = 17
1412
KZG_COMMITMENT_INCLUSION_PROOF_DEPTH: 17

consensus/types/presets/mainnet/deneb.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
FIELD_ELEMENTS_PER_BLOB: 4096
77
# `uint64(2**12)` (= 4096)
88
MAX_BLOB_COMMITMENTS_PER_BLOCK: 4096
9-
# `uint64(6)`
10-
MAX_BLOBS_PER_BLOCK: 6
119
# `floorlog2(get_generalized_index(BeaconBlockBody, 'blob_kzg_commitments')) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 12 = 17
1210
KZG_COMMITMENT_INCLUSION_PROOF_DEPTH: 17

consensus/types/presets/minimal/deneb.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
FIELD_ELEMENTS_PER_BLOB: 4096
77
# [customized]
88
MAX_BLOB_COMMITMENTS_PER_BLOCK: 16
9-
# `uint64(6)`
10-
MAX_BLOBS_PER_BLOCK: 6
119
# [customized] `floorlog2(BLOB_KZG_COMMITMENTS_GINDEX) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 4 = 9
1210
KZG_COMMITMENT_INCLUSION_PROOF_DEPTH: 9

0 commit comments

Comments
 (0)