Start adjusting acceptance tests to the new Plutus V3 syntax.

This commit is contained in:
KtorZ
2024-08-25 17:12:36 +02:00
parent af9a785d65
commit 3521a8c921
28 changed files with 88 additions and 80 deletions

View File

@@ -1,6 +1,6 @@
use aiken/fuzz
type Foo {
pub type Foo {
a0: Int,
a1: Bool,
}
@@ -17,8 +17,8 @@ fn foo_2(Foo { a0, a1 } as foo) -> Int {
}
}
validator(Foo { a0, .. }: Foo) {
fn foo_3(_data, _redeemer) {
validator foo_3(Foo { a0, .. }: Foo) {
mint(_redeemer, _policy_, _tx) {
a0 == 1
}
}
@@ -32,7 +32,7 @@ test example_2() {
}
test example_3() {
foo_3(Foo { a0: 1, a1: False }, "", "")
foo_3_mint(Foo { a0: 1, a1: False }, "", "", "")
}
test example_4() {