Skip to content

Commit

Permalink
fix: lints
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Jun 12, 2024
1 parent f6c34f6 commit 7ca188a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/derive/src/stages/attributes_queue/deposits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ pub(crate) async fn derive_deposits(
if l.address != deposit_contract {
continue;
}
let decoded = decode_deposit(block_hash, curr_index, l).map_err(|e| anyhow::anyhow!(e))?;
let decoded =
decode_deposit(block_hash, curr_index, l).map_err(|e| anyhow::anyhow!(e))?;
res.push(decoded);
}
}
Expand All @@ -43,7 +44,7 @@ mod tests {
use super::*;
use crate::types::DepositError;
use alloc::vec;
use alloy_primitives::{address, Log, Bytes, LogData, U256, U64};
use alloy_primitives::{address, Bytes, Log, LogData, U256, U64};

fn generate_valid_log() -> Log {
let deposit_contract = address!("1111111111111111111111111111111111111111");
Expand Down

0 comments on commit 7ca188a

Please sign in to comment.