Fix remaining acceptance tests to be V3-compatible
This commit is contained in:
@@ -5,12 +5,12 @@
|
||||
"plutusVersion": "v2",
|
||||
"compiler": {
|
||||
"name": "Aiken",
|
||||
"version": "v1.0.31-alpha+6e4a16d"
|
||||
"version": "v1.0.31-alpha+4003343"
|
||||
}
|
||||
},
|
||||
"validators": [
|
||||
{
|
||||
"title": "foo.spend",
|
||||
"title": "foo.foo.spend",
|
||||
"datum": {
|
||||
"title": "_datum",
|
||||
"schema": {
|
||||
@@ -23,8 +23,13 @@
|
||||
"$ref": "#/definitions/Void"
|
||||
}
|
||||
},
|
||||
"compiledCode": "585201000032323232232232253330064a229309b2b299980219b8748000c014dd50008a99980398031baa001149858594ccc008cdc3a400060066ea800454ccc014c010dd50008a4c2c2cae6955ceaab9e5573f",
|
||||
"hash": "84a516ff1f146f698164b5e64ff813e4e22ba2fa35491f2dc3d70935"
|
||||
"compiledCode": "587601000032323232323225333002323232323253330073370e900118041baa0011323232324a2a66601466e1d2000300b375400a2a66601a60186ea80145261616300d300e002300c001300937540022c6014601600460120026012004600e00260086ea8004526136565734aae7555cf2ab9f5742ae89",
|
||||
"hash": "c613c8326fea00dff179b7108f248b60c155881bbce544d84fe573e1"
|
||||
},
|
||||
{
|
||||
"title": "foo.foo.else",
|
||||
"compiledCode": "587601000032323232323225333002323232323253330073370e900118041baa0011323232324a2a66601466e1d2000300b375400a2a66601a60186ea80145261616300d300e002300c001300937540022c6014601600460120026012004600e00260086ea8004526136565734aae7555cf2ab9f5742ae89",
|
||||
"hash": "c613c8326fea00dff179b7108f248b60c155881bbce544d84fe573e1"
|
||||
}
|
||||
],
|
||||
"definitions": {
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
validator foo {
|
||||
spend(_datum: Void, _redeemer: Void, oref: Data, _tx: Void) -> Bool {
|
||||
spend(_datum: Option<Void>, _redeemer: Void, oref: Data, _tx: Void) {
|
||||
True
|
||||
}
|
||||
|
||||
else(_) {
|
||||
fail
|
||||
}
|
||||
}
|
||||
|
||||
test foo() {
|
||||
|
||||
Reference in New Issue
Block a user