chore: acceptance tests v3 syntax

This commit is contained in:
rvcas
2024-08-26 15:56:49 -04:00
parent b57f840cad
commit ff25fbd970
10 changed files with 21 additions and 21 deletions

View File

@@ -25,8 +25,8 @@ pub fn keyhash_address(keyhash: ByteArray) {
}
}
validator(utxo_ref: OutputReference) {
fn simple_oneshot(_r: Void, ctx: ScriptContext) -> Bool {
validator simple_oneshot(utxo_ref: OutputReference) {
mint(_r: Void, oref: Data, ctx: ScriptContext) -> Bool {
let ScriptContext { transaction, purpose } = ctx
let Transaction { inputs, .. } = transaction