Skip to content

Commit

Permalink
type update
Browse files Browse the repository at this point in the history
  • Loading branch information
byteZorvin committed Sep 17, 2024
1 parent f6c35c3 commit a7a3a8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/l3/appchain-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
pub mod errors;

use std::sync::Arc;

use color_eyre::{eyre::eyre, Result};
use starknet_accounts::{Account, Call, ExecutionV1, SingleOwnerAccount};
use starknet_contract::ContractFactory;
Expand All @@ -13,7 +15,7 @@ use starknet_signers::LocalWallet;
use std::path::Path;

pub type LocalWalletSignerMiddleware =
SingleOwnerAccount<JsonRpcClient<HttpTransport>, LocalWallet>;
SingleOwnerAccount<Arc<JsonRpcClient<HttpTransport>>, LocalWallet>;

type RpcAccount<'a> = SingleOwnerAccount<&'a JsonRpcClient<HttpTransport>, LocalWallet>;
pub type TransactionExecution<'a> = ExecutionV1<'a, RpcAccount<'a>>;
Expand Down

0 comments on commit a7a3a8d

Please sign in to comment.