Skip to content

chore: add unsafe comments#9761

Merged
nventuro merged 4 commits into
masterfrom
nv/tag-oracles
Nov 6, 2024
Merged

chore: add unsafe comments#9761
nventuro merged 4 commits into
masterfrom
nv/tag-oracles

Conversation

@nventuro
Copy link
Copy Markdown
Contributor

@nventuro nventuro commented Nov 5, 2024

I added some small safety comments to the oracles in #9566, and moved the tag computation over to an unconstrained helper: since the tag secret itself is unconstrained, there is no point in constraining the computation of the tag itself, and we might as well inject the final value directly.

@nventuro nventuro requested a review from sklppy88 November 5, 2024 20:30
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 5, 2024

Changes to public function bytecode sizes

Generated at commit: ab7f1da6f1117172bb56ffc4d81d14ffb2292d49, compared to commit: 5c5be5c57d364356e4d591eeb5da0246b339db7d

🧾 Summary (100% most significant diffs)

Program Bytecode size in bytes (+/-) %
AvmTest::public_dispatch +851 ❌ +1.43%

Full diff report 👇
Program Bytecode size in bytes (+/-) %
AvmTest::public_dispatch 60,539 (+851) +1.43%

Copy link
Copy Markdown
Contributor

@sklppy88 sklppy88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you very much for fixing the comments 🙌

Comment thread noir-projects/aztec-nr/aztec/src/oracle/notes.nr
@nventuro nventuro merged commit 7802fc8 into master Nov 6, 2024
@nventuro nventuro deleted the nv/tag-oracles branch November 6, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants