Update blueprint test vectors following 58d782fa
Signed-off-by: KtorZ <5680256+KtorZ@users.noreply.github.com>
This commit is contained in:
parent
172f7e1e01
commit
b26b599a97
|
@ -13,7 +13,7 @@ description: "Code:\n\npub type OuterMap =\n List<Pair<Int, InnerMap>>\n\npub
|
||||||
"redeemer": {
|
"redeemer": {
|
||||||
"title": "_redeemer",
|
"title": "_redeemer",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/OuterMap"
|
"$ref": "#/definitions/test_module~1OuterMap"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compiledCode": "<redacted>",
|
"compiledCode": "<redacted>",
|
||||||
|
@ -36,29 +36,9 @@ description: "Code:\n\npub type OuterMap =\n List<Pair<Int, InnerMap>>\n\npub
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"InnerMap": {
|
|
||||||
"title": "InnerMap",
|
|
||||||
"dataType": "map",
|
|
||||||
"keys": {
|
|
||||||
"$ref": "#/definitions/Int"
|
|
||||||
},
|
|
||||||
"values": {
|
|
||||||
"$ref": "#/definitions/Bool"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Int": {
|
"Int": {
|
||||||
"dataType": "integer"
|
"dataType": "integer"
|
||||||
},
|
},
|
||||||
"OuterMap": {
|
|
||||||
"title": "OuterMap",
|
|
||||||
"dataType": "map",
|
|
||||||
"keys": {
|
|
||||||
"$ref": "#/definitions/Int"
|
|
||||||
},
|
|
||||||
"values": {
|
|
||||||
"$ref": "#/definitions/InnerMap"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Void": {
|
"Void": {
|
||||||
"title": "Unit",
|
"title": "Unit",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
|
@ -68,6 +48,26 @@ description: "Code:\n\npub type OuterMap =\n List<Pair<Int, InnerMap>>\n\npub
|
||||||
"fields": []
|
"fields": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"test_module/InnerMap": {
|
||||||
|
"title": "InnerMap",
|
||||||
|
"dataType": "map",
|
||||||
|
"keys": {
|
||||||
|
"$ref": "#/definitions/Int"
|
||||||
|
},
|
||||||
|
"values": {
|
||||||
|
"$ref": "#/definitions/Bool"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"test_module/OuterMap": {
|
||||||
|
"title": "OuterMap",
|
||||||
|
"dataType": "map",
|
||||||
|
"keys": {
|
||||||
|
"$ref": "#/definitions/Int"
|
||||||
|
},
|
||||||
|
"values": {
|
||||||
|
"$ref": "#/definitions/test_module~1InnerMap"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ description: "Code:\n\npub type MyPair =\n Pair<List<Int>, Bool>\n\nvalidator p
|
||||||
"redeemer": {
|
"redeemer": {
|
||||||
"title": "_redeemer",
|
"title": "_redeemer",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/MyPair"
|
"$ref": "#/definitions/test_module~1MyPair"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compiledCode": "<redacted>",
|
"compiledCode": "<redacted>",
|
||||||
|
@ -49,7 +49,7 @@ description: "Code:\n\npub type MyPair =\n Pair<List<Int>, Bool>\n\nvalidator p
|
||||||
"$ref": "#/definitions/Int"
|
"$ref": "#/definitions/Int"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"MyPair": {
|
"test_module/MyPair": {
|
||||||
"title": "MyPair",
|
"title": "MyPair",
|
||||||
"dataType": "list",
|
"dataType": "list",
|
||||||
"items": [
|
"items": [
|
||||||
|
|
|
@ -22,7 +22,7 @@ description: "Code:\n\npub type MyPair =\n Pair<Int, Int>\n\npub type MyDatum {
|
||||||
"Int": {
|
"Int": {
|
||||||
"dataType": "integer"
|
"dataType": "integer"
|
||||||
},
|
},
|
||||||
"List$MyPair": {
|
"List$test_module/MyPair": {
|
||||||
"dataType": "map",
|
"dataType": "map",
|
||||||
"keys": {
|
"keys": {
|
||||||
"$ref": "#/definitions/Int"
|
"$ref": "#/definitions/Int"
|
||||||
|
@ -31,18 +31,6 @@ description: "Code:\n\npub type MyPair =\n Pair<Int, Int>\n\npub type MyDatum {
|
||||||
"$ref": "#/definitions/Int"
|
"$ref": "#/definitions/Int"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"MyPair": {
|
|
||||||
"title": "MyPair",
|
|
||||||
"dataType": "list",
|
|
||||||
"items": [
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Int"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Int"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Void": {
|
"Void": {
|
||||||
"title": "Unit",
|
"title": "Unit",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
|
@ -63,15 +51,27 @@ description: "Code:\n\npub type MyPair =\n Pair<Int, Int>\n\npub type MyDatum {
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"title": "pairs",
|
"title": "pairs",
|
||||||
"$ref": "#/definitions/List$MyPair"
|
"$ref": "#/definitions/List$test_module~1MyPair"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "pair",
|
"title": "pair",
|
||||||
"$ref": "#/definitions/MyPair"
|
"$ref": "#/definitions/test_module~1MyPair"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"test_module/MyPair": {
|
||||||
|
"title": "MyPair",
|
||||||
|
"dataType": "list",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/Int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/Int"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ description: "Code:\n\npub type MyPair =\n Pair<Int, Int>\n\npub type MyDatum {
|
||||||
"Int": {
|
"Int": {
|
||||||
"dataType": "integer"
|
"dataType": "integer"
|
||||||
},
|
},
|
||||||
"List$MyPair": {
|
"List$test_module/MyPair": {
|
||||||
"dataType": "map",
|
"dataType": "map",
|
||||||
"keys": {
|
"keys": {
|
||||||
"$ref": "#/definitions/Int"
|
"$ref": "#/definitions/Int"
|
||||||
|
@ -31,18 +31,6 @@ description: "Code:\n\npub type MyPair =\n Pair<Int, Int>\n\npub type MyDatum {
|
||||||
"$ref": "#/definitions/Int"
|
"$ref": "#/definitions/Int"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"MyPair": {
|
|
||||||
"title": "MyPair",
|
|
||||||
"dataType": "list",
|
|
||||||
"items": [
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Int"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Int"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Void": {
|
"Void": {
|
||||||
"title": "Unit",
|
"title": "Unit",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
|
@ -63,15 +51,27 @@ description: "Code:\n\npub type MyPair =\n Pair<Int, Int>\n\npub type MyDatum {
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"title": "pair",
|
"title": "pair",
|
||||||
"$ref": "#/definitions/MyPair"
|
"$ref": "#/definitions/test_module~1MyPair"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "pairs",
|
"title": "pairs",
|
||||||
"$ref": "#/definitions/List$MyPair"
|
"$ref": "#/definitions/List$test_module~1MyPair"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"test_module/MyPair": {
|
||||||
|
"title": "MyPair",
|
||||||
|
"dataType": "list",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/Int"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/Int"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,16 +26,12 @@ description: "Code:\n\n/// On-chain state\npub type State {\n /// The contest
|
||||||
"Int": {
|
"Int": {
|
||||||
"dataType": "integer"
|
"dataType": "integer"
|
||||||
},
|
},
|
||||||
"List$Party": {
|
"List$test_module/Party": {
|
||||||
"dataType": "list",
|
"dataType": "list",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/Party"
|
"$ref": "#/definitions/test_module~1Party"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Party": {
|
|
||||||
"title": "Party",
|
|
||||||
"dataType": "bytes"
|
|
||||||
},
|
|
||||||
"test_module/ContestationPeriod": {
|
"test_module/ContestationPeriod": {
|
||||||
"title": "ContestationPeriod",
|
"title": "ContestationPeriod",
|
||||||
"description": "Whatever",
|
"description": "Whatever",
|
||||||
|
@ -77,6 +73,10 @@ description: "Code:\n\n/// On-chain state\npub type State {\n /// The contest
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"test_module/Party": {
|
||||||
|
"title": "Party",
|
||||||
|
"dataType": "bytes"
|
||||||
|
},
|
||||||
"test_module/State": {
|
"test_module/State": {
|
||||||
"title": "State",
|
"title": "State",
|
||||||
"description": "On-chain state",
|
"description": "On-chain state",
|
||||||
|
@ -94,7 +94,7 @@ description: "Code:\n\n/// On-chain state\npub type State {\n /// The contest
|
||||||
{
|
{
|
||||||
"title": "parties",
|
"title": "parties",
|
||||||
"description": "List of public key hashes of all participants",
|
"description": "List of public key hashes of all participants",
|
||||||
"$ref": "#/definitions/List$Party"
|
"$ref": "#/definitions/List$test_module~1Party"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "utxoHash",
|
"title": "utxoHash",
|
||||||
|
|
|
@ -13,36 +13,12 @@ description: "Code:\n\npub type Asset = (ByteArray, Int)\n\npub type POSIXTime =
|
||||||
"redeemer": {
|
"redeemer": {
|
||||||
"title": "redeemer",
|
"title": "redeemer",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/definitions/test_module~1MyRedeemer$Asset"
|
"$ref": "#/definitions/test_module~1MyRedeemer$test_module~1Asset"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"compiledCode": "<redacted>",
|
"compiledCode": "<redacted>",
|
||||||
"hash": "<redacted>",
|
"hash": "<redacted>",
|
||||||
"definitions": {
|
"definitions": {
|
||||||
"AlwaysNone": {
|
|
||||||
"title": "AlwaysNone",
|
|
||||||
"anyOf": [
|
|
||||||
{
|
|
||||||
"title": "Never",
|
|
||||||
"description": "Nothing.",
|
|
||||||
"dataType": "constructor",
|
|
||||||
"index": 1,
|
|
||||||
"fields": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Asset": {
|
|
||||||
"title": "Asset",
|
|
||||||
"dataType": "list",
|
|
||||||
"items": [
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/ByteArray"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/Int"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Bool": {
|
"Bool": {
|
||||||
"title": "Bool",
|
"title": "Bool",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
|
@ -66,38 +42,58 @@ description: "Code:\n\npub type Asset = (ByteArray, Int)\n\npub type POSIXTime =
|
||||||
"Int": {
|
"Int": {
|
||||||
"dataType": "integer"
|
"dataType": "integer"
|
||||||
},
|
},
|
||||||
"List$Asset": {
|
"List$test_module/Asset": {
|
||||||
"dataType": "list",
|
"dataType": "list",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/Asset"
|
"$ref": "#/definitions/test_module~1Asset"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"POSIXTime": {
|
"Pair$test_module/POSIXTime_Bool": {
|
||||||
"title": "POSIXTime",
|
|
||||||
"dataType": "integer"
|
|
||||||
},
|
|
||||||
"Pair$POSIXTime_Bool": {
|
|
||||||
"title": "Pair",
|
"title": "Pair",
|
||||||
"dataType": "list",
|
"dataType": "list",
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/POSIXTime"
|
"$ref": "#/definitions/test_module~1POSIXTime"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/Bool"
|
"$ref": "#/definitions/Bool"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Pairs$Asset_POSIXTime": {
|
"Pairs$test_module/Asset_test_module/POSIXTime": {
|
||||||
"title": "Pairs<a, POSIXTime>",
|
"title": "Pairs<a, POSIXTime>",
|
||||||
"dataType": "map",
|
"dataType": "map",
|
||||||
"keys": {
|
"keys": {
|
||||||
"$ref": "#/definitions/Asset"
|
"$ref": "#/definitions/test_module~1Asset"
|
||||||
},
|
},
|
||||||
"values": {
|
"values": {
|
||||||
"$ref": "#/definitions/POSIXTime"
|
"$ref": "#/definitions/test_module~1POSIXTime"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"test_module/AlwaysNone": {
|
||||||
|
"title": "AlwaysNone",
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"title": "Never",
|
||||||
|
"description": "Nothing.",
|
||||||
|
"dataType": "constructor",
|
||||||
|
"index": 1,
|
||||||
|
"fields": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"test_module/Asset": {
|
||||||
|
"title": "Asset",
|
||||||
|
"dataType": "list",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/ByteArray"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/Int"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"test_module/MyDatum": {
|
"test_module/MyDatum": {
|
||||||
"title": "MyDatum",
|
"title": "MyDatum",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
|
@ -107,7 +103,7 @@ description: "Code:\n\npub type Asset = (ByteArray, Int)\n\npub type POSIXTime =
|
||||||
"index": 0,
|
"index": 0,
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/AlwaysNone"
|
"$ref": "#/definitions/test_module~1AlwaysNone"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -117,13 +113,13 @@ description: "Code:\n\npub type Asset = (ByteArray, Int)\n\npub type POSIXTime =
|
||||||
"index": 1,
|
"index": 1,
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"$ref": "#/definitions/Pair$POSIXTime_Bool"
|
"$ref": "#/definitions/Pair$test_module~1POSIXTime_Bool"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"test_module/MyRedeemer$Asset": {
|
"test_module/MyRedeemer$test_module/Asset": {
|
||||||
"title": "MyRedeemer",
|
"title": "MyRedeemer",
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{
|
{
|
||||||
|
@ -133,15 +129,19 @@ description: "Code:\n\npub type Asset = (ByteArray, Int)\n\npub type POSIXTime =
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"title": "fst_field",
|
"title": "fst_field",
|
||||||
"$ref": "#/definitions/List$Asset"
|
"$ref": "#/definitions/List$test_module~1Asset"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"title": "snd_field",
|
"title": "snd_field",
|
||||||
"$ref": "#/definitions/Pairs$Asset_POSIXTime"
|
"$ref": "#/definitions/Pairs$test_module~1Asset_test_module~1POSIXTime"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"test_module/POSIXTime": {
|
||||||
|
"title": "POSIXTime",
|
||||||
|
"dataType": "integer"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue