Skip to content

fix(avm)!: memory pre-audit#21058

Merged
IlyasRidhuan merged 1 commit into
merge-train/avmfrom
ir/02-26-fix_avm_memory_pre-audit
Mar 4, 2026
Merged

fix(avm)!: memory pre-audit#21058
IlyasRidhuan merged 1 commit into
merge-train/avmfrom
ir/02-26-fix_avm_memory_pre-audit

Conversation

@IlyasRidhuan

@IlyasRidhuan IlyasRidhuan commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Mostly documentation changes

Copy link
Copy Markdown
Contributor Author

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

@IlyasRidhuan IlyasRidhuan force-pushed the ir/02-26-fix_avm_memory_pre-audit branch from 0d782f1 to 30b4ef7 Compare March 3, 2026 15:54
*/
void Memory::set(MemoryAddress index, MemoryValue value)
{
// TODO: validate address?

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.

Im not sure what this means but i think it's safe to remove. @fcarreiro

I assume it's referencing range checking the address but MemoryAddress is already an alias for uint32_t

@IlyasRidhuan IlyasRidhuan marked this pull request as ready for review March 3, 2026 16:03

@jeanmon jeanmon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM! Great work! I just have one small comment related to default initialization of events.

Comment thread barretenberg/cpp/src/barretenberg/vm2/simulation/events/memory_event.hpp Outdated
@IlyasRidhuan IlyasRidhuan force-pushed the ir/02-26-fix_avm_memory_pre-audit branch from 30b4ef7 to 5d2649e Compare March 4, 2026 09:23
@IlyasRidhuan IlyasRidhuan force-pushed the ir/02-26-fix_avm_memory_pre-audit branch from 5d2649e to b03a30f Compare March 4, 2026 11:04
@AztecBot

AztecBot commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/946943134d43cc2a�946943134d43cc2a8;;�):  yarn-project/end-to-end/scripts/run_test.sh simple src/e2e_bot.test.ts (179s) (code: 0)

@IlyasRidhuan IlyasRidhuan merged commit 2a4c294 into merge-train/avm Mar 4, 2026
11 checks passed
@IlyasRidhuan IlyasRidhuan deleted the ir/02-26-fix_avm_memory_pre-audit branch March 4, 2026 16:42
@AztecBot AztecBot mentioned this pull request Mar 4, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Mar 5, 2026
BEGIN_COMMIT_OVERRIDE
fix(avm)!: memory pre-audit (#21058)
fix(avm)!: memory trace changes (#21059)
fix!: AVM was missing range check on remainder for div in ALU (#21074)
feat: run AVM NAPI simulations on dedicated threads instead of libuv
pool (#21138)
feat(avm)!: Unify nullifier, written slots and retrieved bytecodes tree
traces (#20949)
fix(avm)!: public inputs pre-audit (#21162)
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.

3 participants