mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-08 08:03:13 +00:00
16 lines
315 B
Python
16 lines
315 B
Python
from noir_constraint import NoirProof
|
|
|
|
from constraints import Constraint
|
|
|
|
|
|
class Vacuous(Constraint):
|
|
"""
|
|
This is the empty constraint, it return true for any proof
|
|
"""
|
|
|
|
def prove(self) -> NoirProof:
|
|
return NoirProof("vacuous")
|
|
|
|
def verify(self, _proof: NoirProof):
|
|
return True
|