conformance: a conformance suite for the AIP-23 proof kinds (one verdict form over the published verifiers, 35 rules derived from code, 122 vectors, a runner for any implementation, a second verifier in Python); four defects it found in the published verifiers are fixed here: the market judge accepted a timeline with its submission event withheld, and three verifiers threw on malformed input instead of refusing by name
This commit is contained in:
1 parent
2c000478dc
commit
c9f2932e04
145 files changed
+17395
-104
No files matched your search
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"v": 1,
|
||||
"kind": "aere-conformance-vector",
|
||||
"id": "envelope/authorization.valid",
|
||||
"artifact": "envelope",
|
||||
"title": "the authorization envelope from its producer",
|
||||
"source": "producer on fixed inputs",
|
||||
"requires": [],
|
||||
"exercises": [
|
||||
"envelope.form",
|
||||
"envelope.integrity"
|
||||
],
|
||||
"base": null,
|
||||
"mutation": null,
|
||||
"input": {
|
||||
"envelope": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-authorization-attestation",
|
||||
"statement": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-authorization",
|
||||
"policyHash": "0xf062025b73d9324b189fcec2b5c88338aa6fa9fb7877700681b2049b57e6aedd",
|
||||
"grantor": "org-x",
|
||||
"grantee": "agent-7",
|
||||
"scope": "payments:send<=100",
|
||||
"expiresAt": "2026-12-31T00:00:00Z",
|
||||
"createdAt": "2026-09-26T00:00:00Z"
|
||||
},
|
||||
"statementHash": "0xad70cb9db980eb04d739c7687fec8d3a3675c35105b3d3837c2012c81cd9d521"
|
||||
}
|
||||
},
|
||||
"expected": {
|
||||
"verdict": "VALID",
|
||||
"failed": [],
|
||||
"levels": {
|
||||
"integrity": "PASSED",
|
||||
"authenticity": "NOT_MEASURED",
|
||||
"anchoring": "NOT_MEASURED",
|
||||
"finality": "NOT_MEASURED"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user