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,49 @@
|
||||
{
|
||||
"v": 1,
|
||||
"kind": "aere-conformance-vector",
|
||||
"id": "envelope/ownership.form",
|
||||
"artifact": "envelope",
|
||||
"title": "ownership: the statementHash is 63 hex digits",
|
||||
"source": "derived from envelope/ownership.valid",
|
||||
"requires": [],
|
||||
"exercises": [
|
||||
"envelope.form",
|
||||
"envelope.integrity"
|
||||
],
|
||||
"base": "envelope/ownership.valid",
|
||||
"mutation": {
|
||||
"op": "set",
|
||||
"path": [
|
||||
"envelope",
|
||||
"statementHash"
|
||||
],
|
||||
"value": "0xd41b5b8eb450e3af02fd575a695258f66469c6e36e628cad9aebd724a38248b"
|
||||
},
|
||||
"input": {
|
||||
"envelope": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-ownership-attestation",
|
||||
"statement": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-ownership",
|
||||
"assetHash": "0x68eef920516b0af8f874dccb72bcffc6f25cdfad43fcb78417fc1feb6efcd698",
|
||||
"owner": "0xowner",
|
||||
"assetId": "nft-7",
|
||||
"createdAt": "2026-09-26T00:00:00Z"
|
||||
},
|
||||
"statementHash": "0xd41b5b8eb450e3af02fd575a695258f66469c6e36e628cad9aebd724a38248b"
|
||||
}
|
||||
},
|
||||
"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