From 10e5d24ad77029100a8126cd474d63d4d320b3e5 Mon Sep 17 00:00:00 2001 From: byteZorvin Date: Tue, 17 Sep 2024 14:39:24 +0530 Subject: [PATCH] update type with Arc --- crates/l3/appchain-utils/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/l3/appchain-utils/src/lib.rs b/crates/l3/appchain-utils/src/lib.rs index 26ec41c..82ff13b 100644 --- a/crates/l3/appchain-utils/src/lib.rs +++ b/crates/l3/appchain-utils/src/lib.rs @@ -1,4 +1,5 @@ pub mod errors; +use std::sync::Arc; use color_eyre::{eyre::eyre, Result}; use starknet_accounts::{Account, Call, ExecutionV1, SingleOwnerAccount}; @@ -13,7 +14,7 @@ use starknet_signers::LocalWallet; use std::path::Path; pub type LocalWalletSignerMiddleware = - SingleOwnerAccount, LocalWallet>; + SingleOwnerAccount>, LocalWallet>; type RpcAccount<'a> = SingleOwnerAccount<&'a JsonRpcClient, LocalWallet>; pub type TransactionExecution<'a> = ExecutionV1<'a, RpcAccount<'a>>;