leo/tests/compiler/finalize/finalize_without_finalize_statement_fail.leo

17 lines
329 B
Plaintext
Raw Normal View History

2022-09-07 20:39:00 +03:00
/*
namespace: Compile
expectation: Fail
*/
2022-10-06 02:53:49 +03:00
program test.aleo {
mapping account: address => u64;
transition mint_public(public receiver: address, public amount: u64) {
}
finalize mint_public (public receiver: address, public amount: u64) {
increment(account, receiver, amount);
}
2022-09-07 20:39:00 +03:00
}