Skip to content

Commit 7fbb222

Browse files
committed
Fix after merge
1 parent 8a46ebe commit 7fbb222

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

crates/autopilot/src/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use {
2828
chain::Chain,
2929
clap::Parser,
3030
contracts::alloy::{BalancerV2Vault, GPv2Settlement, IUniswapV3Factory, InstanceExt, WETH9},
31-
ethcontract::{BlockNumber, H160},
31+
ethcontract::H160,
3232
ethrpc::{
3333
Web3,
3434
alloy::conversions::{IntoAlloy, IntoLegacy},

crates/shared/src/event_handling.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -973,8 +973,12 @@ mod tests {
973973
.unwrap(),
974974
),
975975
];
976-
let event_handler =
977-
EventHandler::new(Arc::new(web3.alloy.clone()), AlloyEventRetriever(contract), storage, None);
976+
let event_handler = EventHandler::new(
977+
Arc::new(web3.alloy.clone()),
978+
AlloyEventRetriever(contract),
979+
storage,
980+
None,
981+
);
978982
let (replacement_blocks, _) = event_handler.past_events_by_block_hashes(&blocks).await;
979983
assert_eq!(replacement_blocks, blocks[..2]);
980984
}

0 commit comments

Comments
 (0)