Skip to content

Commit e67896f

Browse files
committed
fix args
1 parent ca90c3c commit e67896f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

crates/op-rbuilder/src/flashtestations/args.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ pub struct FlashtestationsArgs {
3434
// Remote url for attestations
3535
#[arg(
3636
long = "flashtestations.quote-provider",
37-
env = "FLASHTESTATIONS_QUOTE_PROVIDER"
37+
env = "FLASHTESTATIONS_QUOTE_PROVIDER",
38+
required_if_eq_all([
39+
("flashtestations_enabled", "true"),
40+
("debug", "false")
41+
])
3842
)]
3943
pub quote_provider: Option<String>,
4044

crates/op-rbuilder/src/flashtestations/builder_tx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ impl BuilderTransactions for FlashtestationsBuilderTx {
561561
let mut builder_txs = Vec::<BuilderTransactionCtx>::new();
562562

563563
if !self.registered.load(Ordering::Relaxed) {
564-
info!(target: "flashtestations", "tee service not registered yet, attempting to add registration tx");
564+
info!(target: "flashtestations", "tee service not registered yet, attempting to register");
565565
self.set_registered(state_provider, ctx);
566566
builder_txs.extend(self.fund_tee_service_tx(ctx, &mut evm)?);
567567
let (register_tx, _) = self.register_tee_service_tx(ctx, &mut evm)?;

0 commit comments

Comments
 (0)