feat(avm): contract class mutation#19498
Merged
IlyasRidhuan merged 1 commit intoJan 14, 2026
Merged
Conversation
This was referenced Jan 12, 2026
Contributor
Author
This was referenced Jan 12, 2026
a9f59ee to
5962f63
Compare
e23573e to
3a173f8
Compare
Collaborator
Flakey Tests🤖 says: This CI run detected 4 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
sirasistant
approved these changes
Jan 13, 2026
sirasistant
left a comment
Contributor
There was a problem hiding this comment.
Looks good! With this approach of bytecode mutations and classes mutations, the mutation only lives for one iteration (further mutations will clear the contract classes). We can probably improve this so they are longer lived, by changing the approach of rebuild everything on every mutation to rebuild what's needed. But for now it's probably fine.
Contributor
Author
|
yep! thanks for the reminder, we should just mutate 1 bytecode per iteration i think. |
5962f63 to
e67fc66
Compare
3a173f8 to
62aa8d5
Compare
Merged
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Jan 14, 2026
BEGIN_COMMIT_OVERRIDE fix(avm): Fix relative addressing in fuzzer (#19550) feat(avm): avm fuzzer bytecode mutation (#19378) chore(avm): there is automatic conversion from uint128_t to FF chore(avm): ECC pre-audit - normalise infinity points (#19462) feat(bb-pilcom): single-component graph check (#19578) feat(avm): contract class mutation (#19498) chore: support uint128_t in uint256_t construction (#19581) fix!: remove unused column in update_check.pil (#19557) fix(avm)!: pre-audit review of context.pil (#19549) fix(avm): Relax fuzzer memory manager asserts (#19591) fix!: sha256.pil missing input propagation constraints (#19590) END_COMMIT_OVERRIDE
This was referenced Jan 15, 2026
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.

Adds mutation for contract classses. This requires changing from simple
ContractClasstoContractClassWithCommitmentwithin the fuzzer.We need the commitment so that when the contract class is mutated, we can re-compute: the class id and the contract address.