Cleanup implementation

This commit is contained in:
Omar Abdulla
2025-07-21 19:42:44 +03:00
parent b6db597a57
commit d7bc4f1fab
9 changed files with 177 additions and 198 deletions
+2 -3
View File
@@ -448,8 +448,8 @@ pub fn resolve_argument(
mod tests {
use super::*;
use alloy::{json_abi::JsonAbi, network::TxSigner};
use alloy_primitives::{Signature, address};
use alloy::json_abi::JsonAbi;
use alloy_primitives::address;
use alloy_sol_types::SolValue;
use std::collections::HashMap;
@@ -459,7 +459,6 @@ mod tests {
fn execute_transaction(
&self,
_: TransactionRequest,
_: Option<impl IntoIterator<Item: TxSigner<Signature> + Send + Sync + 'static>>,
) -> anyhow::Result<alloy::rpc::types::TransactionReceipt> {
unimplemented!()
}
+2 -3
View File
@@ -7,8 +7,8 @@ use std::{
str::FromStr,
};
use alloy::{network::TxSigner, signers::local::PrivateKeySigner};
use alloy_primitives::{Address, Signature};
use alloy::signers::local::PrivateKeySigner;
use alloy_primitives::Address;
use revive_dt_node_interaction::EthereumNode;
use serde::{Deserialize, Serialize};
@@ -389,7 +389,6 @@ impl EthereumNode for UnimplementedEthereumNode {
fn execute_transaction(
&self,
_: alloy::rpc::types::TransactionRequest,
_: Option<impl IntoIterator<Item: TxSigner<Signature> + Send + Sync + 'static>>,
) -> anyhow::Result<alloy::rpc::types::TransactionReceipt> {
anyhow::bail!("Unimplemented")
}