Skip to content

fix!: missing boolean constraints on zero checks targets#19401

Merged
dbanks12 merged 1 commit into
merge-train/avmfrom
db/missing-zero-check-bools
Jan 7, 2026
Merged

fix!: missing boolean constraints on zero checks targets#19401
dbanks12 merged 1 commit into
merge-train/avmfrom
db/missing-zero-check-bools

Conversation

@dbanks12

@dbanks12 dbanks12 commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

And annotated some explicitly constrained booleans in these files while i was at it.

Also we had a duplicated boolean constraint in keccak_mem

dbanks12 commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@dbanks12 dbanks12 marked this pull request as ready for review January 7, 2026 20:37
@dbanks12 dbanks12 requested review from sirasistant and removed request for IlyasRidhuan, Maddiaa0, fcarreiro and jeanmon January 7, 2026 20:37
@dbanks12 dbanks12 force-pushed the db/missing-zero-check-bools branch from b90b0b2 to 18516b8 Compare January 7, 2026 20:46
Comment on lines 180 to 181

#[SINGLE_TAG_ERROR_BOOLEAN]
single_tag_error * (1 - single_tag_error) = 0;

#[VAL01]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Duplicate constraint

@dbanks12 dbanks12 merged commit 9e120b5 into merge-train/avm Jan 7, 2026
11 checks passed
@dbanks12 dbanks12 deleted the db/missing-zero-check-bools branch January 7, 2026 21:55
@AztecBot AztecBot mentioned this pull request Jan 7, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Jan 8, 2026
BEGIN_COMMIT_OVERRIDE
feat(avm)!: optionally use TS logger in C++ simulation (#19305)
chore(avm): bytecode caching comments
chore(avm): disable VK hash checking in tests
fix(avm)!: instr_fetching soundness bug (#19381)
fix(avm): dont catch wide exceptions (#19388)
refactor(avm): Refactor get contract instance fuzzer backfill (#19387)
feat(avm): mutate enqueued calls (#19315)
chore(avm): migrate to BB asserts (#19395)
fix!: more missing boolean constraints in calldata, calldata hashing,
sha256 mem PILs (#19367)
feat(avm): defensively assert cd hashes (#19346)
chore: annotate booleans in PIL, and add some missing boolean
constraints (#19371)
fix!: missing boolean constraints on zero checks targets (#19401)
fix!: context did not constrain returndata size to 0 at start, and had a
misnamed relation (#19404)
END_COMMIT_OVERRIDE
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