Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mm-zk committed Aug 28, 2023
1 parent 945634f commit e38c765
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -875,10 +875,13 @@ impl<S: ForkSource + std::fmt::Debug> InMemoryNode<S> {

println!("\n\n === Transaction setup costs ===");
let publish_block_l1_bytes = 58823;
println!("Publishing full block costs the operator up to: {}, where {} is due to {} bytes published to L1",
to_human_size(debug.total_overhead_for_block),
to_human_size(debug.gas_per_pubdata * publish_block_l1_bytes),
publish_block_l1_bytes);
println!(
"Publishing full block costs the operator up to: {}, where {} is due to {} bytes published to L1",
to_human_size(debug.total_overhead_for_block),
to_human_size(debug.gas_per_pubdata * publish_block_l1_bytes),
publish_block_l1_bytes
);

println!(
"Total transaction setup cost: {}",
to_human_size(intrinsic_gas)
Expand Down

0 comments on commit e38c765

Please sign in to comment.