Skip to content

feat(pxe,nr): flesh out account stubs and don't exclude syncing for overrides#23054

Merged
dbanks12 merged 1 commit intomerge-train/fairiesfrom
db/flesh-out-stubs
May 8, 2026
Merged

feat(pxe,nr): flesh out account stubs and don't exclude syncing for overrides#23054
dbanks12 merged 1 commit intomerge-train/fairiesfrom
db/flesh-out-stubs

Conversation

@dbanks12
Copy link
Copy Markdown
Contributor

@dbanks12 dbanks12 commented May 7, 2026

flesh out account stubs so that syncing actually works for them, and then remove their exclusion

@dbanks12 dbanks12 force-pushed the db/private-sim-contract-overrides branch from 9aa157b to 713e7c5 Compare May 7, 2026 18:43
@dbanks12 dbanks12 force-pushed the db/flesh-out-stubs branch from fd5d974 to 49d9722 Compare May 7, 2026 18:43
@dbanks12 dbanks12 force-pushed the db/private-sim-contract-overrides branch from 713e7c5 to b5280d2 Compare May 8, 2026 00:55
@dbanks12 dbanks12 force-pushed the db/flesh-out-stubs branch 2 times, most recently from 4f39410 to 392cab1 Compare May 8, 2026 00:55
@dbanks12 dbanks12 force-pushed the db/private-sim-contract-overrides branch from b5280d2 to 14c427f Compare May 8, 2026 00:55
@dbanks12 dbanks12 marked this pull request as ready for review May 8, 2026 01:00
@dbanks12 dbanks12 force-pushed the db/flesh-out-stubs branch from 392cab1 to 7a70d95 Compare May 8, 2026 01:19
@dbanks12 dbanks12 force-pushed the db/private-sim-contract-overrides branch from 14c427f to ccd607a Compare May 8, 2026 01:19
@dbanks12 dbanks12 force-pushed the db/flesh-out-stubs branch from 7a70d95 to bf17e47 Compare May 8, 2026 01:19
@dbanks12 dbanks12 force-pushed the db/private-sim-contract-overrides branch from ccd607a to f8f2a94 Compare May 8, 2026 01:25
@dbanks12 dbanks12 force-pushed the db/flesh-out-stubs branch from bf17e47 to c8aa93d Compare May 8, 2026 01:25
@dbanks12 dbanks12 changed the title feat(pxe,nr): allow simulation overrides to sync without exclusions feat(pxe,nr): flesh out account stubs and don't exclude syncing for overrides May 8, 2026
@dbanks12 dbanks12 marked this pull request as draft May 8, 2026 01:26
Base automatically changed from db/private-sim-contract-overrides to merge-train/fairies May 8, 2026 01:27
@dbanks12 dbanks12 marked this pull request as ready for review May 8, 2026 01:28
@dbanks12 dbanks12 requested review from Thunkar and nventuro May 8, 2026 01:28
Mirrors the real-account note storage (signing_public_key) on the simulated
Schnorr/ECDSA account stubs and removes the manual sync_state() override so
the #[aztec] macro generates a sync_state matching the real contract's
selector. With matching note storage, the macro-generated _compute_note_hash
can decode the real account's signing_public_key note during simulation sync.

Removes the PXE setExcludedFromSync plumbing that previously skipped
overridden contracts from sync. Required for fastForwardContractUpdate's
private-call simulation to discover notes through the override.
@dbanks12 dbanks12 force-pushed the db/flesh-out-stubs branch from c8aa93d to c5f9cb8 Compare May 8, 2026 13:30
@dbanks12 dbanks12 merged commit d8aa9fe into merge-train/fairies May 8, 2026
15 checks passed
@dbanks12 dbanks12 deleted the db/flesh-out-stubs branch May 8, 2026 13:51
github-merge-queue Bot pushed a commit that referenced this pull request May 10, 2026
BEGIN_COMMIT_OVERRIDE
fix: include sqlite binary in its npm package (#23039)
fix: add sendMessagesAs to wallet api schemas (#23041)
refactor(pxe): deduplicate tx hash lookups in MessageContextService
(#23075)
refactor(pxe): batch tagged private log queries across all secrets
(#23048)
refactor(pxe): batch log RPC calls in LogService.fetchLogsByTag (#23088)
feat(pxe,nr): flesh out account stubs and don't exclude syncing for
overrides (#23054)
feat: deploy method refactor 2 (#23033)
feat: fastForwardContractUpdate cheatcode for simulating contract
updates (#22905)
refactor(stdlib): consolidate find-function-by-selector helpers (#23008)
feat(ci): Snapshots for aztec-nr contract compilation failures and nargo
expand (#23061)
chore: kv store test fully on vitest (#23096)
refactor(pxe): skip redundant getBlock RPC when querying at anchor block
(#23100)
chore(playground): bump main chunk size limit 1750 → 1800 KB (#23107)
feat(txe): allow authorizing cross-contract utility calls in nr tests
(#23064)
chore: bench public fns with emit repro (#23105)
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