Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add unsafe comments #9761

Merged
merged 4 commits into from
Nov 6, 2024
Merged

chore: add unsafe comments #9761

merged 4 commits into from
Nov 6, 2024

Conversation

nventuro
Copy link
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
Copy link
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
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 🙌

@nventuro nventuro merged commit 7802fc8 into master Nov 6, 2024
66 checks passed
@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