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,41 @@
|
||||
{
|
||||
"v": 1,
|
||||
"kind": "aere-conformance-vector",
|
||||
"id": "envelope/agent-decision.valid",
|
||||
"artifact": "envelope",
|
||||
"title": "the agent-decision 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-agent-decision-attestation",
|
||||
"statement": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-agent-decision",
|
||||
"policyHash": "0xc7d983a9886a0899bd6f3f09fde526514b0075f8f6abe77a1886405d86048c27",
|
||||
"actionHash": "0x4ed27941710465e1431097592d2426f029306343d7e1172aa581b56b2fcf7cd4",
|
||||
"allowed": true,
|
||||
"reason": "under the limit",
|
||||
"createdAt": "2026-09-26T00:00:00Z"
|
||||
},
|
||||
"statementHash": "0x80e2d43344c4b23aea1700f9230d5162a7a8768036e5ed4cd5303856fcd5632a"
|
||||
}
|
||||
},
|
||||
"expected": {
|
||||
"verdict": "VALID",
|
||||
"failed": [],
|
||||
"levels": {
|
||||
"integrity": "PASSED",
|
||||
"authenticity": "NOT_MEASURED",
|
||||
"anchoring": "NOT_MEASURED",
|
||||
"finality": "NOT_MEASURED"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user