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,50 @@
|
||||
{
|
||||
"v": 1,
|
||||
"kind": "aere-conformance-vector",
|
||||
"id": "envelope/compliance.form",
|
||||
"artifact": "envelope",
|
||||
"title": "compliance: the statementHash is 63 hex digits",
|
||||
"source": "derived from envelope/compliance.valid",
|
||||
"requires": [],
|
||||
"exercises": [
|
||||
"envelope.form",
|
||||
"envelope.integrity"
|
||||
],
|
||||
"base": "envelope/compliance.valid",
|
||||
"mutation": {
|
||||
"op": "set",
|
||||
"path": [
|
||||
"envelope",
|
||||
"statementHash"
|
||||
],
|
||||
"value": "0xbac39cebdd87825b034b4b25d5e44478b62d9623db62e5110e88e523187c6e3"
|
||||
},
|
||||
"input": {
|
||||
"envelope": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-compliance-attestation",
|
||||
"statement": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-compliance",
|
||||
"evidenceHash": "0x20e95ada67c778758b26bd6425863f9a53bb666a98e3fe060eec15866e87cc12",
|
||||
"subject": "org-x",
|
||||
"policy": "pq-ready",
|
||||
"result": "pass",
|
||||
"createdAt": "2026-09-26T00:00:00Z"
|
||||
},
|
||||
"statementHash": "0xbac39cebdd87825b034b4b25d5e44478b62d9623db62e5110e88e523187c6e3"
|
||||
}
|
||||
},
|
||||
"expected": {
|
||||
"verdict": "INVALID",
|
||||
"failed": [
|
||||
"envelope.form"
|
||||
],
|
||||
"levels": {
|
||||
"integrity": "FAILED",
|
||||
"authenticity": "NOT_MEASURED",
|
||||
"anchoring": "NOT_MEASURED",
|
||||
"finality": "NOT_MEASURED"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user