From 627c1bac89a766552fc9e211c2cc8940d667dc28 Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Tue, 25 Feb 2025 10:37:29 -0800 Subject: [PATCH] take config value --- beacon_node/src/config.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/beacon_node/src/config.rs b/beacon_node/src/config.rs index e07cf0193f..8690ac390e 100644 --- a/beacon_node/src/config.rs +++ b/beacon_node/src/config.rs @@ -195,6 +195,12 @@ pub fn get_config( client_config.chain.disable_attesting = true; } + if let Some(sync_tolerance_epochs) = + clap_utils::parse_optional(cli_args, "sync-tolerance-epochs")? + { + client_config.chain.sync_tolerance_epochs = sync_tolerance_epochs; + } + if let Some(cache_size) = clap_utils::parse_optional(cli_args, "shuffling-cache-size")? { client_config.chain.shuffling_cache_size = cache_size; }