Add a flag to disable getBlobs (#7853)

N/A


  Add a flag to disable get blobs. I configured the flag to disable it regardless of version because its most likely something we use for testing anyway.
This commit is contained in:
Pawan Dhananjay
2025-08-11 16:17:00 -07:00
committed by GitHub
parent 40c2fd5ff4
commit 4262ad3e01
6 changed files with 39 additions and 0 deletions

View File

@@ -182,6 +182,10 @@ pub fn get_config<E: EthSpec>(
client_config.chain.enable_light_client_server = false;
}
if cli_args.get_flag("disable-get-blobs") {
client_config.chain.disable_get_blobs = true;
}
if let Some(sync_tolerance_epochs) =
clap_utils::parse_optional(cli_args, "sync-tolerance-epochs")?
{