fix: fixing tests to account for the new stdlib main. Also added test 75 but commented out for now until a fix is merged

This commit is contained in:
microproofs
2024-05-04 14:26:06 -04:00
parent a44ed4c1a8
commit b3d0c3ec04
43 changed files with 150 additions and 87 deletions

View File

@@ -14,11 +14,11 @@ validator(token_name: ByteArray, utxo_ref: OutputReference) {
let ScriptContext { transaction, purpose } = ctx
expect tx.Mint(policy_id) = purpose
let Transaction { inputs, mint, .. } = transaction
expect [(asset_name, amount)] =
expect [Pair(asset_name, amount)] =
mint
|> value.from_minted_value
|> value.tokens(policy_id)
|> dict.to_list()
|> dict.to_alist()
when rdmr is {
Mint -> {
expect