We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd1c446 commit eb6db6dCopy full SHA for eb6db6d
script/bin/operator.rs
@@ -489,8 +489,18 @@ where
489
.prove(&self.pk, &stdin)
490
.strategy(FulfillmentStrategy::Auction)
491
.skip_simulation(true)
492
- .cycle_limit(10_000_000_000)
493
- .gas_limit(1_000_000_000)
+ .cycle_limit(
+ env::var("PROVER_CYCLE_LIMIT")
494
+ .ok()
495
+ .and_then(|s| s.parse().ok())
496
+ .unwrap_or(10_000_000_000),
497
+ )
498
+ .gas_limit(
499
+ env::var("PROVER_GAS_LIMIT")
500
501
502
503
504
.min_auction_period(10)
505
.plonk()
506
.timeout(Duration::from_secs(PROOF_TIMEOUT_SECONDS))
0 commit comments