We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6ed390 + eadc2f2 commit 712cc44Copy full SHA for 712cc44
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
+ .expect("PROVER_CYCLE_LIMIT not set")
495
+ .parse::<u64>()
496
+ .expect("Failed to parse PROVER_CYCLE_LIMIT"),
497
+ )
498
+ .gas_limit(
499
+ env::var("PROVER_GAS_LIMIT")
500
+ .expect("PROVER_GAS_LIMIT not set")
501
502
+ .expect("Failed to parse PROVER_GAS_LIMIT"),
503
504
.min_auction_period(10)
505
.plonk()
506
.timeout(Duration::from_secs(PROOF_TIMEOUT_SECONDS))
0 commit comments