From 78143a72e0ab032673337f4b607dabe02b6c56f0 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 24 Sep 2025 14:43:54 -0400 Subject: [PATCH] fix: derive clone on flashbots --- src/utils/flashbots.rs | 2 +- src/utils/tracing.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/flashbots.rs b/src/utils/flashbots.rs index 9d8cc11..4460751 100644 --- a/src/utils/flashbots.rs +++ b/src/utils/flashbots.rs @@ -36,7 +36,7 @@ impl FlashbotsConfig { } /// A basic provider for common Flashbots Relay endpoints. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Flashbots { /// The base URL for the Flashbots API. pub relay_url: url::Url, diff --git a/src/utils/tracing.rs b/src/utils/tracing.rs index ca9650f..89b70ec 100644 --- a/src/utils/tracing.rs +++ b/src/utils/tracing.rs @@ -7,8 +7,7 @@ use tracing_subscriber::{filter::EnvFilter, layer::SubscriberExt, util::Subscrib const TRACING_LOG_JSON: &str = "TRACING_LOG_JSON"; /// Install a format layer based on the `TRACING_LOG_JSON` environment -/// variable, and then install the registr -/// +/// variable, and then install the registry. macro_rules! install_fmt { (json @ $registry:ident, $filter:ident) => {{ let fmt = tracing_subscriber::fmt::layer().json().with_filter($filter);