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,54 @@
|
||||
{
|
||||
"v": 1,
|
||||
"kind": "aere-conformance-vector",
|
||||
"id": "envelope/provenance.integrity",
|
||||
"artifact": "envelope",
|
||||
"title": "provenance: statement.subjectHash changed after hashing",
|
||||
"source": "derived from envelope/provenance.valid",
|
||||
"requires": [],
|
||||
"exercises": [
|
||||
"envelope.form",
|
||||
"envelope.integrity"
|
||||
],
|
||||
"base": "envelope/provenance.valid",
|
||||
"mutation": {
|
||||
"op": "set",
|
||||
"path": [
|
||||
"envelope",
|
||||
"statement",
|
||||
"subjectHash"
|
||||
],
|
||||
"value": "0x7fbd7ef36fdd97293aa5b3bcd597146101d3ea9a12b271ed0c88bdca25b63d120"
|
||||
},
|
||||
"input": {
|
||||
"envelope": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-provenance-attestation",
|
||||
"statement": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-provenance",
|
||||
"subjectHash": "0x7fbd7ef36fdd97293aa5b3bcd597146101d3ea9a12b271ed0c88bdca25b63d120",
|
||||
"processHash": "0x3053677e4333a96b20ed76c662bca07fb2e1ce059479170139209356787da09c",
|
||||
"parents": [
|
||||
"0x7624c3381360e030f4172f54c925584354cf3595e793f59311c7ac33a582984f",
|
||||
"0xce1d96bce7b6086cd30375a4523daab06e55630c8405d304eaa5a96d0c6d0545"
|
||||
],
|
||||
"actor": "build-bot",
|
||||
"createdAt": "2026-09-26T00:00:00Z"
|
||||
},
|
||||
"statementHash": "0x87b2a679d9e8af836c911f87ca8050c9c826c30b011da63ed87cf82146c048c3"
|
||||
}
|
||||
},
|
||||
"expected": {
|
||||
"verdict": "INVALID",
|
||||
"failed": [
|
||||
"envelope.integrity"
|
||||
],
|
||||
"levels": {
|
||||
"integrity": "FAILED",
|
||||
"authenticity": "NOT_MEASURED",
|
||||
"anchoring": "NOT_MEASURED",
|
||||
"finality": "NOT_MEASURED"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user