Skip to content

feat: bytecode hashing init#8535

Merged
IlyasRidhuan merged 4 commits intomasterfrom
ir/09-10-feat_bytecode_hashing_init
Oct 25, 2024
Merged

feat: bytecode hashing init#8535
IlyasRidhuan merged 4 commits intomasterfrom
ir/09-10-feat_bytecode_hashing_init

Conversation

@IlyasRidhuan
Copy link
Copy Markdown
Contributor

@IlyasRidhuan IlyasRidhuan commented Sep 13, 2024

This adds proper computation of the public bytecode commitment (i.e. pair-wise poseidon hashing of the public bytecode). This hash is also computed in the witgen although the circuit remains unconstrained.

Follow up PRs will handle:

  1. Deriving class id, including tracing and hinting the artifact hash, etc
  2. Deriving the address, including tracing and hinting the contract instance
  3. Merkle path hinting and verification in the AVM

Loading
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.

4 participants