Skip to content

Commit 2c16052

Browse files
eserilevjimmygchen
andauthored
Update PeerDAS network parameters for peerdas-devnet-2 (#6290)
* update subnet count & custody req * das network params * update ef tests --------- Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
1 parent 7db3e1c commit 2c16052

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

beacon_node/lighthouse_network/src/discovery/enr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ mod test {
360360
let config = NetworkConfig::default();
361361
let spec = make_eip7594_spec();
362362
let (mut enr, enr_key) = build_enr_with_config(config, &spec);
363-
let invalid_subnet_count = 99u64;
363+
let invalid_subnet_count = 999u64;
364364

365365
enr.insert(
366366
PEERDAS_CUSTODY_SUBNET_COUNT_ENR_KEY,

common/eth2_network_config/built_in_network_configs/chiado/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,6 @@ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 16384
138138
BLOB_SIDECAR_SUBNET_COUNT: 6
139139

140140
# DAS
141-
CUSTODY_REQUIREMENT: 1
142-
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 32
141+
CUSTODY_REQUIREMENT: 4
142+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
143143
NUMBER_OF_COLUMNS: 128

common/eth2_network_config/built_in_network_configs/gnosis/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 16384
121121
BLOB_SIDECAR_SUBNET_COUNT: 6
122122

123123
# DAS
124-
CUSTODY_REQUIREMENT: 1
125-
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 32
124+
CUSTODY_REQUIREMENT: 4
125+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
126126
NUMBER_OF_COLUMNS: 128

common/eth2_network_config/built_in_network_configs/holesky/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,6 @@ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
125125
BLOB_SIDECAR_SUBNET_COUNT: 6
126126

127127
# DAS
128-
CUSTODY_REQUIREMENT: 1
129-
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 32
128+
CUSTODY_REQUIREMENT: 4
129+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
130130
NUMBER_OF_COLUMNS: 128

common/eth2_network_config/built_in_network_configs/mainnet/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,6 @@ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
147147
BLOB_SIDECAR_SUBNET_COUNT: 6
148148

149149
# DAS
150-
CUSTODY_REQUIREMENT: 1
151-
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 32
150+
CUSTODY_REQUIREMENT: 4
151+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
152152
NUMBER_OF_COLUMNS: 128

common/eth2_network_config/built_in_network_configs/sepolia/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,6 @@ MIN_EPOCHS_FOR_BLOB_SIDECARS_REQUESTS: 4096
121121
BLOB_SIDECAR_SUBNET_COUNT: 6
122122

123123
# DAS
124-
CUSTODY_REQUIREMENT: 1
125-
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 32
124+
CUSTODY_REQUIREMENT: 4
125+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
126126
NUMBER_OF_COLUMNS: 128

consensus/types/src/chain_spec.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -807,8 +807,8 @@ impl ChainSpec {
807807
* DAS params
808808
*/
809809
eip7594_fork_epoch: None,
810-
custody_requirement: 1,
811-
data_column_sidecar_subnet_count: 32,
810+
custody_requirement: 4,
811+
data_column_sidecar_subnet_count: 128,
812812
number_of_columns: 128,
813813

814814
/*
@@ -1129,8 +1129,8 @@ impl ChainSpec {
11291129
* DAS params
11301130
*/
11311131
eip7594_fork_epoch: None,
1132-
custody_requirement: 1,
1133-
data_column_sidecar_subnet_count: 32,
1132+
custody_requirement: 4,
1133+
data_column_sidecar_subnet_count: 128,
11341134
number_of_columns: 128,
11351135
/*
11361136
* Network specific
@@ -2122,7 +2122,7 @@ mod yaml_tests {
21222122
DEPOSIT_NETWORK_ID: 1
21232123
DEPOSIT_CONTRACT_ADDRESS: 0x00000000219ab540356cBB839Cbe05303d7705Fa
21242124
CUSTODY_REQUIREMENT: 1
2125-
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 32
2125+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
21262126
NUMBER_OF_COLUMNS: 128
21272127
"#;
21282128

lighthouse/environment/tests/testnet_dir/config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ ATTESTATION_SUBNET_PREFIX_BITS: 6
100100
ATTESTATION_SUBNET_SHUFFLING_PREFIX_BITS: 3
101101

102102
# DAS
103-
CUSTODY_REQUIREMENT: 1
104-
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 32
103+
CUSTODY_REQUIREMENT: 4
104+
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
105105
NUMBER_OF_COLUMNS: 128

scripts/local_testnet/network_params_das_interop.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ participants:
2626
network_params:
2727
eip7594_fork_epoch: 0
2828
eip7594_fork_version: "0x50000038"
29-
data_column_sidecar_subnet_count: 64
29+
data_column_sidecar_subnet_count: 128
3030
samples_per_slot: 16
3131
custody_requirement: 4
3232
snooper_enabled: false

0 commit comments

Comments
 (0)