Skip to content

Commit 91e0679

Browse files
Check if the proving system is disabled on batcher
1 parent aa5c3c2 commit 91e0679

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crates/batcher/src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,13 @@ impl Batcher {
14911491
}
14921492

14931493
async fn is_verifier_disabled(&self, verifier: ProvingSystemId) -> bool {
1494+
// Check if the verifier is disabled in the configuration first
1495+
if self
1496+
.config_disabled_verifiers
1497+
.contains(&verifier.to_string())
1498+
{
1499+
return true;
1500+
}
14941501
let disabled_verifiers = self.disabled_verifiers.lock().await;
14951502
zk_utils::is_verifier_disabled(*disabled_verifiers, verifier)
14961503
}

0 commit comments

Comments
 (0)