test: fix acceptance tests

This commit is contained in:
rvcas
2023-02-15 22:46:16 -05:00
committed by Lucas
parent 7b0faa7c1c
commit d41e6942c6
12 changed files with 109 additions and 105 deletions

View File

@@ -5,8 +5,7 @@
},
"validators": [
{
"title": "foo",
"purpose": "spend",
"title": "foo.spend",
"datum": {
"title": "Data",
"description": "Any Plutus data."

View File

@@ -4,6 +4,8 @@ fn when_tuple(a: (Int, Int)) -> Int {
}
}
pub fn spend(a: Data, b: Data, c) -> Bool {
when_tuple((4, 1)) == 4
validator spend {
fn(a: Data, b: Data, c) -> Bool {
when_tuple((4, 1)) == 4
}
}