Skip to content

Commit 2221758

Browse files
committed
fix: lints
Signed-off-by: Gregory Edison <gregory.edison1993@gmail.com>
1 parent 0fd47bc commit 2221758

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/scroll/alloy/evm/src/block/curie.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
//!
1818
//! More details on the Curie update: <https://scroll.io/blog/compressing-the-gas-scrolls-curie-upgrade>
1919
20+
use alloc::vec;
2021
use revm::{
2122
bytecode::Bytecode,
2223
database::{states::StorageSlot, State},

crates/scroll/alloy/evm/src/block/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use crate::{
77
block::curie::{apply_curie_hard_fork, L1_GAS_PRICE_ORACLE_ADDRESS},
88
ScrollEvm, ScrollEvmFactory, ScrollTransactionIntoTxEnv,
99
};
10+
use alloc::{boxed::Box, format, vec::Vec};
1011

1112
use alloy_consensus::{transaction::Recovered, Transaction, TxReceipt, Typed2718};
1213
use alloy_eips::Encodable2718;
@@ -254,8 +255,8 @@ pub struct ScrollBlockExecutorFactory<R, Spec = ScrollHardfork, EvmFactory = Scr
254255
}
255256

256257
impl<R, Spec, EvmFactory> ScrollBlockExecutorFactory<R, Spec, EvmFactory> {
257-
/// Creates a new [`ScrollBlockExecutorFactory`] with the given spec, [`EvmFactory`], and
258-
/// [`ScrollReceiptBuilder`].
258+
/// Creates a new [`ScrollBlockExecutorFactory`] with the given receipt builder, spec and
259+
/// factory.
259260
pub const fn new(receipt_builder: R, spec: Spec, evm_factory: EvmFactory) -> Self {
260261
Self { receipt_builder, spec, evm_factory }
261262
}

0 commit comments

Comments
 (0)