Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit ce317cd

Browse files
committed
cargo fmt
1 parent 0543f3d commit ce317cd

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

crates/op-rbuilder/src/base/flashblocks.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ impl BaseFlashblocksCtx {
2929
/// Unlike gas and DA, execution time does not carry over to the next batch.
3030
pub fn next(self, cumulative_execution_time_us: u128) -> Self {
3131
Self {
32-
target_execution_time_us: cumulative_execution_time_us + self.execution_time_per_batch_us,
32+
target_execution_time_us: cumulative_execution_time_us
33+
+ self.execution_time_per_batch_us,
3334
..self
3435
}
3536
}

crates/op-rbuilder/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ pub mod traits;
1111
pub mod tx;
1212
pub mod tx_signer;
1313

14+
pub mod base;
1415
#[cfg(test)]
1516
pub mod mock_tx;
16-
pub mod base;
1717
mod resource_metering;
1818
#[cfg(any(test, feature = "testing"))]
1919
pub mod tests;

crates/op-rbuilder/src/tests/base/resource_metering.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ async fn execution_time_limit_rejects_excessive_transactions(
5353
args.flashblocks.flashblocks_block_time = EXECUTION_LIMIT_MS;
5454
args
5555
})]
56-
async fn non_enforcing_mode_includes_all_transactions(
57-
rbuilder: LocalInstance,
58-
) -> eyre::Result<()> {
56+
async fn non_enforcing_mode_includes_all_transactions(rbuilder: LocalInstance) -> eyre::Result<()> {
5957
let driver = rbuilder.driver().await?;
6058
enable_metering(driver.provider()).await?;
6159

0 commit comments

Comments
 (0)