remove traces from test 89

This commit is contained in:
microproofs 2024-01-25 14:24:21 -05:00
parent 115ff61abe
commit ede6c22267
2 changed files with 7 additions and 12 deletions

View File

@ -13,4 +13,4 @@ requirements = []
source = "github"
[etags]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1706206922, nanos_since_epoch = 401031000 }, "cf946239d3dd481ed41f20e56bf24910b5229ea35aa171a708edc2a47fc20a7b"]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1706210606, nanos_since_epoch = 598159000 }, "cf946239d3dd481ed41f20e56bf24910b5229ea35aa171a708edc2a47fc20a7b"]

View File

@ -30,22 +30,17 @@ validator(utxo_ref: OutputReference) {
let ScriptContext { transaction, purpose } = ctx
let Transaction { inputs, .. } = transaction
trace @"Here"
expect Mint(_policy_id) = purpose
trace @"Here1"
expect Some(_input) =
list.find(inputs, fn(input) { input.output_reference == utxo_ref })
trace @"Here2"
True
let input =
list.find(inputs, fn(input) { input.output_reference == utxo_ref })
when input is {
Some(_) -> True
None -> False
}
}
}