Skip to content

Commit 72bf098

Browse files
committed
minor refactor
1 parent 8e9591d commit 72bf098

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

chain/ethereum/src/data_source.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ use graph::env::ENV_VARS;
1919
use graph::futures03::future::try_join;
2020
use graph::futures03::stream::FuturesOrdered;
2121
use graph::futures03::TryStreamExt;
22-
use graph::prelude::web3::types::Address;
23-
use graph::prelude::web3::types::H160;
2422
use graph::prelude::{Link, SubgraphManifestValidationError};
2523
use graph::slog::{debug, error, o, trace};
2624
use itertools::Itertools;
@@ -37,7 +35,7 @@ use graph::{
3735
blockchain::{self, Blockchain},
3836
prelude::{
3937
async_trait, serde_json, warn,
40-
web3::types::{Log, Transaction, H256},
38+
web3::types::{Address, Log, Transaction, H160, H256},
4139
BlockNumber, CheapClone, EthereumCall, LightEthereumBlock, LightEthereumBlockExt,
4240
LinkResolver, Logger,
4341
},

chain/ethereum/src/trigger.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use graph::data::subgraph::API_VERSION_0_0_6;
66
use graph::data::subgraph::API_VERSION_0_0_7;
77
use graph::data_source::common::DeclaredCall;
88
use graph::prelude::alloy::rpc::types::TransactionReceipt as AlloyTransactionReceipt;
9-
use graph::prelude::alloy_log_to_web3_log;
109
use graph::prelude::web3::types::Address;
1110
use graph::prelude::web3::types::Log;
1211
use graph::prelude::web3::types::Transaction;

tests/src/fixture/ethereum.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ use graph::cheap_clone::CheapClone;
1414
use graph::components::ethereum::BlockWrapper;
1515
use graph::data_source::subgraph;
1616
use graph::prelude::web3::types::H256;
17-
use graph::prelude::web3::types::U64;
1817
use graph::prelude::web3::types::{Address, Log, Transaction, H160};
19-
use graph::prelude::{tiny_keccak, web3, DeploymentHash, Entity, ENV_VARS};
18+
use graph::prelude::{tiny_keccak, DeploymentHash, Entity, ENV_VARS};
2019
use graph::schema::EntityType;
2120
use graph::{abi, alloy_todo};
2221
use graph_chain_ethereum::network::EthereumNetworkAdapters;

0 commit comments

Comments
 (0)