From b32a3d85ce774d63f5b471c4992d01f3c646abe9 Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Fri, 17 Nov 2023 16:14:42 +0100 Subject: [PATCH] hokus pokus --- crates/providers/src/provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/providers/src/provider.rs b/crates/providers/src/provider.rs index 6165d4b98c0..040329cbe39 100644 --- a/crates/providers/src/provider.rs +++ b/crates/providers/src/provider.rs @@ -9,7 +9,6 @@ use alloy_rpc_types::{ }; use alloy_transport::{BoxTransport, Transport, TransportErrorKind, TransportResult}; use alloy_transport_http::Http; -use async_trait::async_trait; use auto_impl::auto_impl; use reqwest::Client; use serde::{Deserialize, Serialize}; @@ -38,6 +37,7 @@ pub struct Provider { /// Once the new Provider trait is stable, this trait will be removed. #[cfg_attr(target_arch = "wasm32", async_trait::async_trait(?Send))] #[cfg_attr(not(target_arch = "wasm32"), async_trait::async_trait)] +#[auto_impl(&, Arc, Box)] pub trait TempProvider: Send + Sync { /// Gets the transaction count of the corresponding address. async fn get_transaction_count(