Remove disable_run_on_all

This commit is contained in:
Mac L
2024-07-24 19:40:14 +10:00
parent 517fae942d
commit 453e003f92
2 changed files with 0 additions and 5 deletions

View File

@@ -45,8 +45,6 @@ const FUTURE_SLOT_TOLERANCE: Slot = Slot::new(1);
// Configuration for the Beacon Node fallback.
#[derive(Copy, Clone, Debug, Default, Serialize, Deserialize)]
pub struct Config {
/// Disables publishing http api requests to all beacon nodes for select api calls.
pub disable_run_on_all: bool,
pub sync_tolerances: BeaconNodeSyncDistanceTiers,
}

View File

@@ -270,9 +270,6 @@ impl Config {
/*
* Beacon node fallback
*/
config.beacon_node_fallback.disable_run_on_all = cli_args.get_flag("disable-run-on-all");
if let Some(sync_tolerance) = cli_args.get_one::<String>("beacon-nodes-sync-tolerances") {
config.beacon_node_fallback.sync_tolerances =
BeaconNodeSyncDistanceTiers::from_str(sync_tolerance)?;