Skip to content

Commit 9a17bd0

Browse files
committed
Undo accidentally removed code.
1 parent 768e24f commit 9a17bd0

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

beacon_node/beacon_chain/src/test_utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2578,6 +2578,7 @@ pub fn generate_rand_block_and_blobs<E: EthSpec>(
25782578
(block, blob_sidecars)
25792579
}
25802580

2581+
#[allow(clippy::type_complexity)]
25812582
pub fn generate_rand_block_and_data_columns<E: EthSpec>(
25822583
fork_name: ForkName,
25832584
num_blobs: NumBlobs,

beacon_node/network/src/sync/block_sidecar_coupling.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ mod tests {
299299
for block in &blocks {
300300
for column in &block.1 {
301301
if expects_custody_columns.contains(&column.index) {
302-
info.add_data_column(Some(column.clone().into()));
302+
info.add_data_column(Some(column.clone()));
303303
}
304304
}
305305
}

beacon_node/src/config.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,12 @@ pub fn get_config<E: EthSpec>(
443443
client_config.store.epochs_per_blob_prune = epochs_per_blob_prune;
444444
}
445445

446+
if let Some(blob_prune_margin_epochs) =
447+
clap_utils::parse_optional(cli_args, "blob-prune-margin-epochs")?
448+
{
449+
client_config.store.blob_prune_margin_epochs = blob_prune_margin_epochs;
450+
}
451+
446452
if let Some(malicious_withhold_count) =
447453
clap_utils::parse_optional(cli_args, "malicious-withhold-count")?
448454
{

testing/ef_tests/check_all_files_accessed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# TODO(das): remove once electra tests are on unstable
2424
"tests/.*/electra/",
2525
# TODO(das): ignore until new spec test release with column subnet count = 64.
26-
"tests/.*/.*/.*/get_custody_columns/"
26+
"tests/.*/.*/.*/get_custody_columns/",
2727
# Eth1Block and PowBlock
2828
#
2929
# Intentionally omitted, as per https://github.com/sigp/lighthouse/issues/1835

0 commit comments

Comments
 (0)