Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
meyer9 committed Jan 10, 2025
1 parent 7439c89 commit b2fdf86
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion crates/optimism/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
1 change: 0 additions & 1 deletion crates/optimism/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ const L1_COST_INTERCEPT: u64 = 42_585_600;
/// <https://github.com/ethereum-optimism/op-geth/blob/647c346e2bef36219cc7b47d76b1cb87e7ca29e4/core/types/rollup_cost.go#82>
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;
Expand Down

0 comments on commit b2fdf86

Please sign in to comment.