diff --git a/bolt-sidecar/src/config/limits.rs b/bolt-sidecar/src/config/limits.rs index 7424672eb..6bf02c47a 100644 --- a/bolt-sidecar/src/config/limits.rs +++ b/bolt-sidecar/src/config/limits.rs @@ -7,7 +7,7 @@ pub const DEFAULT_MAX_COMMITTED_GAS: u64 = 10_000_000; pub const DEFAULT_MIN_PRIORITY_FEE: u128 = 1_000_000_000; // 1 Gwei /// Limits for the sidecar. -#[derive(Debug, Parser, Clone)] +#[derive(Debug, Parser, Clone, Copy)] pub struct LimitsOpts { /// Max number of commitments to accept per block #[clap(long, env = "BOLT_SIDECAR_MAX_COMMITMENTS", diff --git a/bolt-sidecar/src/driver.rs b/bolt-sidecar/src/driver.rs index 060120671..df50322be 100644 --- a/bolt-sidecar/src/driver.rs +++ b/bolt-sidecar/src/driver.rs @@ -133,7 +133,7 @@ impl SidecarDriver { ) -> eyre::Result { let constraints_client = ConstraintsClient::new(opts.constraints_url.clone()); let beacon_client = BeaconClient::new(opts.beacon_api_url.clone()); - let execution = ExecutionState::new(fetcher, opts.limits.clone()).await?; + let execution = ExecutionState::new(fetcher, opts.limits).await?; let genesis_time = beacon_client.get_genesis_details().await?.genesis_time; let slot_stream =