From c58b2c9cd0bf37e824770c25895bf7cd56c9af74 Mon Sep 17 00:00:00 2001 From: Bartosz Zawistowski Date: Sat, 11 Jan 2025 12:14:11 +0100 Subject: [PATCH] Clippy --- zilliqa/tests/it/eth.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/zilliqa/tests/it/eth.rs b/zilliqa/tests/it/eth.rs index 8ca619172..b067a6148 100644 --- a/zilliqa/tests/it/eth.rs +++ b/zilliqa/tests/it/eth.rs @@ -6,7 +6,6 @@ use ethabi::{ethereum_types::U64, Token}; use ethers::{ abi::FunctionExt, core::types::{Bytes, Signature}, - prelude::contract, providers::{Middleware, MiddlewareError, Provider}, types::{ transaction::{ @@ -21,12 +20,9 @@ use ethers::{ use futures::{future::join_all, StreamExt}; use primitive_types::{H160, H256}; use serde::{Deserialize, Serialize}; -use zilliqa::{ - scilla::storage_key, - state::{Account, State}, -}; +use zilliqa::state::{Account, State}; -use crate::{deploy_contract, node, LocalRpcClient, Network, Wallet}; +use crate::{deploy_contract, LocalRpcClient, Network, Wallet}; #[zilliqa_macros::test] async fn call_block_number(mut network: Network) { @@ -1485,7 +1481,7 @@ async fn test_eth_get_proof(mut network: Network) { let wallet = network.genesis_wallet().await; // Example from https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getstorageat. - let (hash, abi) = deploy_contract( + let (hash, _) = deploy_contract( "tests/it/contracts/Storage.sol", "Storage", &wallet,