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,100 @@
|
||||
{
|
||||
"v": 1,
|
||||
"kind": "aere-conformance-vector",
|
||||
"id": "market-timeline/s5-refunded-cancelled.valid",
|
||||
"artifact": "market-timeline",
|
||||
"title": "posted and cancelled: the escrow returned",
|
||||
"source": "recorded (market-settlement, 2026-10-02), scenario S5",
|
||||
"requires": [],
|
||||
"exercises": [
|
||||
"market.arbiter",
|
||||
"market.complete",
|
||||
"market.deadline",
|
||||
"market.form",
|
||||
"market.payout",
|
||||
"market.posting",
|
||||
"market.proof",
|
||||
"market.replay",
|
||||
"market.result",
|
||||
"market.window"
|
||||
],
|
||||
"base": null,
|
||||
"mutation": null,
|
||||
"input": {
|
||||
"chainId": 28001,
|
||||
"market": "0x4145d6f639436d840957F2D4B9f2e73f34F56B5D",
|
||||
"jobId": "9",
|
||||
"constants": {
|
||||
"arbiter": "0x5521aC7371Afdbf6BE986B46Da4116fb256d9e58",
|
||||
"governance": "0x86D6C68408DDb2CC0d1cf4dFd6e07d3830600fAF",
|
||||
"arbitrationTimeout": 1209600,
|
||||
"zkVerifier": "0x70099E62735500AA2F85B60C518551a57B202d54",
|
||||
"pinnedProofSelector": "0x4388a21c"
|
||||
},
|
||||
"job": {
|
||||
"requester": "0x86D6C68408DDb2CC0d1cf4dFd6e07d3830600fAF",
|
||||
"provider": "0x0000000000000000000000000000000000000000",
|
||||
"token": "0x0000000000000000000000000000000000000000",
|
||||
"reward": "0",
|
||||
"providerBond": "0",
|
||||
"specHash": "0xac9d0a395f1ae6e8ca7adebdd44e4454000c349e80feba2c16dc3e0749c9a9b7",
|
||||
"resultHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"zkProgramVKey": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"mode": 0,
|
||||
"status": 6,
|
||||
"pqcSettlement": false,
|
||||
"offchainResult": false,
|
||||
"deadline": 1790959916,
|
||||
"challengeWindow": 90,
|
||||
"submittedAt": 0,
|
||||
"disputedAt": 0
|
||||
},
|
||||
"events": [
|
||||
{
|
||||
"name": "JobPosted",
|
||||
"args": {
|
||||
"id": "9",
|
||||
"requester": "0x86D6C68408DDb2CC0d1cf4dFd6e07d3830600fAF",
|
||||
"token": "0x0000000000000000000000000000000000000000",
|
||||
"reward": "10000000000000000",
|
||||
"mode": "0",
|
||||
"specHash": "0xac9d0a395f1ae6e8ca7adebdd44e4454000c349e80feba2c16dc3e0749c9a9b7",
|
||||
"deadline": "1790959916",
|
||||
"pqcSettlement": false
|
||||
},
|
||||
"blockNumber": 4446558,
|
||||
"blockHash": "0xb3512a658a8969ec6e6516d19c9bd9d2c99134cc3d654ba5afac6da85ffe363f",
|
||||
"timestamp": 1790959888,
|
||||
"txHash": "0x5aba1b174fd5948b8ff555f0b4d4584607145914eec3ed1bdde00072d31ee1af",
|
||||
"from": "0x86D6C68408DDb2CC0d1cf4dFd6e07d3830600fAF",
|
||||
"logIndex": 0
|
||||
},
|
||||
{
|
||||
"name": "JobRefunded",
|
||||
"args": {
|
||||
"id": "9",
|
||||
"requester": "0x86D6C68408DDb2CC0d1cf4dFd6e07d3830600fAF",
|
||||
"token": "0x0000000000000000000000000000000000000000",
|
||||
"reward": "10000000000000000"
|
||||
},
|
||||
"blockNumber": 4446614,
|
||||
"blockHash": "0x6cb797489059f864e1e57a687cde487c0f8765945688cd673879c36e8be7e0e3",
|
||||
"timestamp": 1790959920,
|
||||
"txHash": "0xe13b6cdbb7bb49c2d74235eb3c014f793a9d62df079235a19adbe9c66020de21",
|
||||
"from": "0x86D6C68408DDb2CC0d1cf4dFd6e07d3830600fAF",
|
||||
"logIndex": 0
|
||||
}
|
||||
],
|
||||
"result": null
|
||||
},
|
||||
"expected": {
|
||||
"verdict": "VALID",
|
||||
"failed": [],
|
||||
"levels": {
|
||||
"integrity": "PASSED",
|
||||
"authenticity": "NOT_MEASURED",
|
||||
"anchoring": "NOT_MEASURED",
|
||||
"finality": "NOT_MEASURED"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user