Merged
Conversation
This was referenced Feb 17, 2025
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
#[aztec] macro
#[aztec] macro#[aztec] macro warnings
benesjan
commented
Feb 17, 2025
benesjan
commented
Feb 17, 2025
| $if_statements | ||
| else { | ||
| panic(f"Unknown note type ID: {note_type_id}") | ||
| unconstrained fn compute_note_hash_and_optionally_a_nullifier( |
Contributor
Author
There was a problem hiding this comment.
Had to do this change because if we returned a body from the if and then return the final quote from the function later we would get warnings in cases where there are no notes as the function args would be unused.
benesjan
commented
Feb 17, 2025
| let body = if notes.len() > 0 { | ||
| if notes.len() > 0 { | ||
| quote { | ||
| // Because this unconstrained function is injected after the contract is processed by the macros, it'll not |
Contributor
Author
There was a problem hiding this comment.
Had to do this change because if we returned a body from the if and then return the final quote from the function later we would get warnings in cases where there are no notes as the function args would be unused.
benesjan
commented
Feb 17, 2025
| bytes | ||
| } | ||
|
|
||
| // TODO(#10537): Consider nuking this function. |
Contributor
Author
There was a problem hiding this comment.
Unrelated change. Linked the issue here when I was doing old issues cleanup.
nventuro
reviewed
Feb 18, 2025
4a8b6e2 to
0c4115b
Compare
4f0f5e0 to
5e14e15
Compare
5e14e15 to
cb6ab93
Compare
37ce5ab to
860847c
Compare
cb6ab93 to
63d6fc4
Compare
860847c to
c8e8515
Compare
63d6fc4 to
0cdc71a
Compare
c8e8515 to
d8c127f
Compare
0cdc71a to
8322f0e
Compare
nventuro
approved these changes
Feb 18, 2025
518ab62 to
a21c5bc
Compare
d8c127f to
a1afb7a
Compare
Base automatically changed from
02-14-refactor_notes_implementing_packable_n_
to
master
February 18, 2025 17:41
381501c to
fb8222e
Compare
TomAFrench
added a commit
that referenced
this pull request
Feb 19, 2025
* master: (245 commits) chore: Fix unbound CI variable on release image bootstrap (#12095) fix: dry run on grind (#12088) fix(spartan): eth-execution logging (#12094) fix: aws_handle_evict recovery & termination (#12086) chore: Use native acvm when available on orchestrator tests (#11560) refactor: function macros cleanup (#12066) refactor: remove `addNullifiedNote` from pxe (#11822) fix: `#[aztec]` macro warnings (#12038) refactor!: Notes implementing `Packable<N>` (#12004) chore(ops): add gcloud cli into devbox base image (#12082) fix: hotfix grinding fix: L1 deployment on reth (#12060) fix: Add missing bootstrap fast aliases (#12078) fix: hash_str caching (#12074) fix: Naive attempt to fix nightly deployments (#12079) fix: kind smoke (#12084) refactor!: nuking `NoteHeader` (#11942) fix: inject dockerhub creds (#12072) feat(docs): Note discovery concepts page (#11760) chore: cleanup libp2p logger (#12058) ...
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #11863