diff --git a/crates/optimism/src/lib.rs b/crates/optimism/src/lib.rs index cd2241d64b..2468597be1 100644 --- a/crates/optimism/src/lib.rs +++ b/crates/optimism/src/lib.rs @@ -19,4 +19,4 @@ pub use l1block::{ }; pub use result::OptimismHaltReason; pub use spec::*; -pub use transaction::{error::OpTransactionError, OpTransaction, estimate_tx_compressed_size}; +pub use transaction::{error::OpTransactionError, estimate_tx_compressed_size, OpTransaction}; diff --git a/crates/optimism/src/transaction.rs b/crates/optimism/src/transaction.rs index eb00220ac0..3a955d3956 100644 --- a/crates/optimism/src/transaction.rs +++ b/crates/optimism/src/transaction.rs @@ -17,7 +17,6 @@ const L1_COST_INTERCEPT: u64 = 42_585_600; /// const MIN_TX_SIZE_SCALED: u64 = 100 * 1_000_000; - /// Estimates the compressed size of a transaction. pub fn estimate_tx_compressed_size(input: &[u8]) -> u64 { let fastlz_size = flz_compress_len(input) as u64;