chore: move alias top of file (#6428)

This commit is contained in:
Matthias Seitz
2024-02-06 03:21:15 +01:00
committed by GitHub
parent dee1faeaae
commit 25d2a67577

View File

@ -56,6 +56,9 @@ pub use optimism::TxDeposit;
#[cfg(feature = "optimism")]
pub use tx_type::DEPOSIT_TX_TYPE_ID;
/// Either a transaction hash or number.
pub type TxHashOrNumber = BlockHashOrNumber;
// Expected number of transactions where we can expect a speed-up by recovering the senders in
// parallel.
pub(crate) static PARALLEL_SENDER_RECOVERY_THRESHOLD: Lazy<usize> =
@ -1570,9 +1573,6 @@ impl IntoRecoveredTransaction for TransactionSignedEcRecovered {
}
}
/// Either a transaction hash or number.
pub type TxHashOrNumber = BlockHashOrNumber;
#[cfg(test)]
mod tests {
use crate::{