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,42 @@
|
||||
{
|
||||
"v": 1,
|
||||
"kind": "aere-conformance-vector",
|
||||
"id": "envelope/block.valid",
|
||||
"artifact": "envelope",
|
||||
"title": "the block 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-block-attestation",
|
||||
"statement": {
|
||||
"v": 1,
|
||||
"kind": "aere-proof-of-block",
|
||||
"stateTransitionProof": null,
|
||||
"blockHash": "0xabababababababababababababababababababababababababababababababab",
|
||||
"stateRoot": "0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
|
||||
"anchorHeight": 20255488,
|
||||
"certificateDigest": "0xefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefef",
|
||||
"createdAt": "2026-09-26T00:00:00Z"
|
||||
},
|
||||
"statementHash": "0xa18b21e49b38ab96633111d562f95738042a0ea63906164b022c075a3c5971ad"
|
||||
}
|
||||
},
|
||||
"expected": {
|
||||
"verdict": "VALID",
|
||||
"failed": [],
|
||||
"levels": {
|
||||
"integrity": "PASSED",
|
||||
"authenticity": "NOT_MEASURED",
|
||||
"anchoring": "NOT_MEASURED",
|
||||
"finality": "NOT_MEASURED"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user