Refresh gift_card and hello_world examples.

This commit is contained in:
KtorZ
2024-09-01 18:16:39 +02:00
parent 7bfc01413b
commit 9f6daa8cd5
13 changed files with 30 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
use aiken/collection/list
use cardano/assets
use cardano/address.{Address, VerificationKey}
use cardano/assets
use cardano/transaction.{Input, NoDatum, Output, OutputReference, Transaction}
pub const own_hash = #"01020304050607080910111213140102030405060708091011121314"
@@ -46,7 +46,7 @@ test test_simple_oneshot() {
let output =
Output {
address: beneficiary_address(),
value: assets.zero(),
value: assets.zero,
datum: NoDatum,
reference_script: None,
}
@@ -59,7 +59,7 @@ test test_simple_oneshot() {
let tx =
Transaction {
..transaction.placeholder(),
..transaction.placeholder,
mint: mint,
extra_signatories: [other_hash],
inputs: [input],