Skip to content

Commit

Permalink
fix(sidecar): restore Copy to Limits
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevbirb committed Oct 10, 2024
1 parent 10a3a4d commit 0ccbc1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bolt-sidecar/src/config/limits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion bolt-sidecar/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl<C: StateFetcher, ECDSA: SignerECDSA> SidecarDriver<C, ECDSA> {
) -> eyre::Result<Self> {
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 =
Expand Down

0 comments on commit 0ccbc1d

Please sign in to comment.