Skip to content
Open
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
9 changes: 9 additions & 0 deletions crates/op-rbuilder/src/args/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,15 @@ pub struct FlashblocksArgs {
env = "FLASHBLOCK_NUMBER_CONTRACT_ADDRESS"
)]
pub flashblocks_number_contract_address: Option<Address>,

/// Use permit signatures if flashtestations is enabled with the flashtestation key
/// to increment the flashblocks number
#[arg(
long = "flashblocks.number-contract-use-permit",
env = "FLASHBLOCK_NUMBER_CONTRACT_USE_PERMIT",
default_value = "false"
)]
pub flashblocks_number_contract_use_permit: bool,
}

impl Default for FlashblocksArgs {
Expand Down
2 changes: 1 addition & 1 deletion crates/op-rbuilder/src/builders/builder_tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl From<BuilderTransactionError> for PayloadBuilderError {
BuilderTransactionError::EvmExecutionError(e) => {
PayloadBuilderError::EvmExecutionError(e)
}
_ => PayloadBuilderError::Other(Box::new(error)),
_ => PayloadBuilderError::other(error),
}
}
}
Expand Down
Loading
Loading