Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Jun 27, 2024
1 parent 6c39665 commit 33e2bcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/bin/poller/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ async fn main() -> eyre::Result<()> {
// To do this, we will make use of Multicall3
let payload = IMulticall3::tryAggregateCall {
requireSuccess: true,
calls: vec![
calls: [
// Inline mapping of pre_interactions to Multicall3::Call
pre_interactions
.iter()
Expand Down Expand Up @@ -208,7 +208,7 @@ async fn main() -> eyre::Result<()> {

let settlement = GPv2Settlement::new(SETTLEMENT.parse().unwrap(), provider.clone());
let result = settlement
.simulateDelegatecall(MUTLICALL3.parse().unwrap(), payload.into())
.simulateDelegatecall(MULTICALL3.parse().unwrap(), payload.into())
.call()
.await;

Expand All @@ -230,7 +230,7 @@ async fn main() -> eyre::Result<()> {
assert!(response.returnData[pre_interactions.len()].success);
assert_eq!(
FixedBytes::<4>::abi_decode(
&*response.returnData[pre_interactions.len()].returnData,
&response.returnData[pre_interactions.len()].returnData,
true
)?,
IERC1271::isValidSignatureCall::SELECTOR,
Expand Down

0 comments on commit 33e2bcd

Please sign in to comment.