leo/compiler/tests/input_files/program_state/access_all.leo

8 lines
278 B
Plaintext
Raw Normal View History

2020-08-01 06:59:50 +03:00
function main(input) {
2020-08-17 05:14:26 +03:00
console.assert(input.state.root == [0u8; 32]);
2020-08-01 06:59:50 +03:00
let expected: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
2020-08-17 05:14:26 +03:00
//console.assert(input.record.owner, expected);
2020-08-01 06:59:50 +03:00
2020-08-17 05:14:26 +03:00
console.assert(input.state_leaf.network_id == 0u8);
2020-08-01 06:59:50 +03:00
}