diff --git a/sequencer/batch.go b/sequencer/batch.go index 34d9c870af..866d29b1d6 100644 --- a/sequencer/batch.go +++ b/sequencer/batch.go @@ -457,6 +457,9 @@ func (f *finalizer) isBatchResourcesMarginExhausted(resources state.BatchResourc } else if zkCounters.PoseidonPaddings <= f.getConstraintThresholdUint32(f.batchConstraints.MaxPoseidonPaddings) { resourceName = "PoseidonPaddings" result = true + } else if zkCounters.PoseidonHashes <= f.getConstraintThresholdUint32(f.batchConstraints.MaxPoseidonHashes) { + resourceName = "PoseidonHashes" + result = true } else if zkCounters.Binaries <= f.getConstraintThresholdUint32(f.batchConstraints.MaxBinaries) { resourceName = "Binaries" result = true