checksum_constructor_does_not_match_fail.out
1 Error [ETYC0372156]: A 'noupgrade', 'admin', or 'checksum' constructor must be empty. The Adl compiler will insert the appropriate code. 2 --> compiler-test:7:5 3 | 4 7 | @checksum(mapping = "test.alpha/expected_checksum", key = "true") 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 8 | async constructor() { 7 | ^^^^^^^^^^^^^^^^^^^^^ 8 9 | if self.edition >= 0u16 { 9 | ^^^^^^^^^^^^^^^^^^^^^^^^^ 10 10 | let expected: [u8; 32] = Mapping::get(expected_checksum, true); 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 11 | assert_eq(self.checksum, expected); 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14 12 | } 15 | ^ 16 13 | } 17 | ^