-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use new let syntax for generic numerics (#7503)
Continuation of #7246. We move off from implicit numeric generics to explicitly marking them as such via `let N: u32` (or whatever numeric type). This was quite painful, since the only way is to compile, find the warnings and clear them. With these changes, the aztec-nr tests can be compiled with no warnings, though I'm sure there's more warnings to be found in untested parts of aztec-nr, as well as contract code. We need to do this however since the old mechanism will eventually be removed. There's really nothing noteworthy here except the `merkle_tree_utils` tests, where some of the array lengths were actually being inferred to be `u8` due to other contraints. @sirasistant you may want to take a look at these: https://github.com/AztecProtocol/aztec-packages/pull/7503/files#diff-e8408101fbf34ae0076db1eebe84256f8a01269dec683ef5cc99922cd04f0770
- Loading branch information
Showing
64 changed files
with
346 additions
and
298 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.