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!: remove pedersen hash and commitment opcodes #9107

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

TomAFrench
Copy link
Member

This PR removes the pedersen hash opcode as it's not currently possible to emit these from noir code.

@TomAFrench TomAFrench changed the title chore!: remove pedersen hash opcode chore!: remove pedersen hash and commitment opcodes Oct 9, 2024
@TomAFrench
Copy link
Member Author

Holding off on merging this until #8989 is ready to go in.

@TomAFrench TomAFrench marked this pull request as draft October 9, 2024 11:21
@TomAFrench TomAFrench marked this pull request as ready for review October 9, 2024 13:32
Copy link
Contributor

github-actions bot commented Oct 9, 2024

Changes to public function bytecode sizes

Generated at commit: 7766268ae7faf8996d40677094237c22c06cd9ee, compared to commit: 5a3a8ccd0286a16b93c95a1de21676250926456a

🧾 Summary (100% most significant diffs)

Program Bytecode size in bytes (+/-) %
AvmTest::pedersen_commit +747 ❌ +210.42%
AvmTest::public_dispatch +476 ❌ +0.89%
AvmTest::bulk_testing -275 ✅ -1.16%

Full diff report 👇
Program Bytecode size in bytes (+/-) %
AvmTest::pedersen_commit 1,102 (+747) +210.42%
AvmTest::public_dispatch 53,665 (+476) +0.89%
AvmTest::bulk_testing 23,429 (-275) -1.16%

@dbanks12
Copy link
Contributor

@TomAFrench should this be good to go now that #8989 is merged?

@TomAFrench
Copy link
Member Author

This isn't blocked on anything but I'm getting a strange noir compiler panic where an EmbeddedCurvePoint isn't being being flattened properly due to types.

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.

3 participants