Skip to main content
Version: v1.2

MockVerifier

a MockVerifier to be used for testing

verify

function verify(uint256[8], struct SnarkCommon.VerifyingKey, uint256) public pure returns (bool result)

Verify a zk-SNARK proof (test only return always true)

Return Values

NameTypeDescription
resultboolWhether the proof is valid given the verifying key and public