Add now-necessary type-annotations in tests

This commit is contained in:
KtorZ
2024-05-05 14:26:27 +02:00
committed by Kasey
parent a124bdbb05
commit 99c35a6459
7 changed files with 19 additions and 19 deletions

View File

@@ -13,4 +13,4 @@ requirements = []
source = "github"
[etags]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1714846140, nanos_since_epoch = 960222000 }, "5ee55dc5ccf269bb493f4cacb32096f0191a6adb2ef39d62a1f79b8c5a8fcc7f"]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1714911372, nanos_since_epoch = 250896000 }, "5ee55dc5ccf269bb493f4cacb32096f0191a6adb2ef39d62a1f79b8c5a8fcc7f"]

View File

@@ -9,7 +9,7 @@ validator {
}
}
fn find_stuff(context) -> Output {
fn find_stuff(context: ScriptContext) -> Output {
expect Some(stuff) = list.find(context.transaction.outputs, fn(_) { True })
stuff
}