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:
Aere Network committed 2026-10-03 13:26:03 +03:00
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/location.integrity",
"artifact": "envelope",
"title": "location: statement.evidenceHash changed after hashing",
"source": "derived from envelope/location.valid",
"requires": [],
"exercises": [
"envelope.form",
"envelope.integrity"
],
"base": "envelope/location.valid",
"mutation": {
"op": "set",
"path": [
"envelope",
"statement",
"evidenceHash"
],
"value": "0x20e95ada67c778758b26bd6425863f9a53bb666a98e3fe060eec15866e87cc120"
},
"input": {
"envelope": {
"v": 1,
"kind": "aere-proof-of-location-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-location",
"evidenceHash": "0x20e95ada67c778758b26bd6425863f9a53bb666a98e3fe060eec15866e87cc120",
"subject": "srv-eu",
"region": "eu-central",
"createdAt": "2026-09-26T00:00:00Z"
},
"statementHash": "0x88d2213cf649be8237cc64cff901e2ad8051473d4aab76ca02a7206dee83ad6c"
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"envelope.integrity"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}