Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ alloy-trie = { version = "0.9.1" }
alloy-hardforks = "0.4.4"

# rollup-boost
rollup-boost = { git = "http://github.com/flashbots/rollup-boost", tag = "v0.7.10" }
rollup-boost = { git = "http://github.com/flashbots/rollup-boost", tag = "v0.7.11" }

# optimism
alloy-op-evm = { version = "0.24.1", default-features = false }
Expand Down
8 changes: 7 additions & 1 deletion crates/op-rbuilder/src/builders/flashblocks/payload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,10 @@ where

// We log only every 100th block to reduce usage
let span = if cfg!(feature = "telemetry")
&& config.parent_header.number % self.config.sampling_ratio == 0
&& config
.parent_header
.number
.is_multiple_of(self.config.sampling_ratio)
{
span!(Level::INFO, "build_payload")
} else {
Expand Down Expand Up @@ -1127,6 +1130,8 @@ where
block_number: ctx.parent().number + 1,
};

let (_, blob_gas_used) = ctx.blob_fields(info);

// Prepare the flashblocks message
let fb_payload = FlashblocksPayloadV1 {
payload_id: ctx.payload_id(),
Expand Down Expand Up @@ -1155,6 +1160,7 @@ where
transactions: new_transactions_encoded,
withdrawals: ctx.withdrawals().cloned().unwrap_or_default().to_vec(),
withdrawals_root: withdrawals_root.unwrap_or_default(),
blob_gas_used,
},
metadata: serde_json::to_value(&metadata).unwrap_or_default(),
};
Expand Down
Loading