Skip to content

Commit 270bfeb

Browse files
committed
docs: add doc comment for filtering function
1 parent a476dd0 commit 270bfeb

File tree

1 file changed

+2
-0
lines changed
  • batcher/aligned-batcher/src/zk_utils

1 file changed

+2
-0
lines changed

batcher/aligned-batcher/src/zk_utils/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ pub(crate) fn is_verifier_disabled(
7878
disabled_verifiers & (U256::one() << verification_data.proving_system as u64) != U256::zero()
7979
}
8080

81+
/// Filters out proofs from the batch queue that are using disabled verifiers.
82+
/// This function will be used when there's a change in the disabled verifiers bitmap but the batcher already processed some proofs.
8183
pub(crate) async fn filter_disabled_verifiers(
8284
batch_queue: BatchQueue,
8385
disabled_verifiers: MutexGuard<'_, U256>,

0 commit comments

Comments
 (0)