We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb6db6d commit eadc2f2Copy full SHA for eadc2f2
script/bin/operator.rs
@@ -491,15 +491,15 @@ where
491
.skip_simulation(true)
492
.cycle_limit(
493
env::var("PROVER_CYCLE_LIMIT")
494
- .ok()
495
- .and_then(|s| s.parse().ok())
496
- .unwrap_or(10_000_000_000),
+ .expect("PROVER_CYCLE_LIMIT not set")
+ .parse::<u64>()
+ .expect("Failed to parse PROVER_CYCLE_LIMIT"),
497
)
498
.gas_limit(
499
env::var("PROVER_GAS_LIMIT")
500
501
502
+ .expect("PROVER_GAS_LIMIT not set")
+ .expect("Failed to parse PROVER_GAS_LIMIT"),
503
504
.min_auction_period(10)
505
.plonk()
0 commit comments