Skip to content

fix: adding transactions to PXE stores#22603

Merged
Thunkar merged 6 commits into
merge-train/fairiesfrom
gj/store_transactions
Apr 16, 2026
Merged

fix: adding transactions to PXE stores#22603
Thunkar merged 6 commits into
merge-train/fairiesfrom
gj/store_transactions

Conversation

@Thunkar

@Thunkar Thunkar commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Tracking down potential indexeddb stale transactions

@Thunkar Thunkar requested a review from mverzilli April 16, 2026 12:41
@Thunkar Thunkar self-assigned this Apr 16, 2026

const skM = GrumpkinScalar.fromBuffer(skMBuffer);
// The remaining awaits are non-DB computations. They are safe because no further IDB operations follow them.
const computedPkMHash = await pkM.hash();

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.

this will close the idb tx, which now is fine because this is happening inside a transactionAsync env and there are no further db ops after.

@mverzilli mverzilli 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.

Looks good (what a pain)

@Thunkar Thunkar enabled auto-merge (squash) April 16, 2026 13:57
@Thunkar Thunkar merged commit 0a031a8 into merge-train/fairies Apr 16, 2026
12 checks passed
@Thunkar Thunkar deleted the gj/store_transactions branch April 16, 2026 14:17
AztecBot pushed a commit that referenced this pull request Apr 16, 2026
Tracking down potential indexeddb stale transactions

---------

Co-authored-by: mverzilli <martin@aztec-labs.com>
@AztecBot

Copy link
Copy Markdown
Collaborator

✅ Successfully backported to backport-to-v4-next-staging #22580.

github-merge-queue Bot pushed a commit that referenced this pull request Apr 17, 2026
BEGIN_COMMIT_OVERRIDE
feat: check noir release has nargo binaries before releasing (#22551)
chore: cache chainInfo in embeddedwallet (#22592)
fix: wrap external getCapsule in transactionAsync (#22595)
fix(pxe): throw clear error for invalid comparator in pick_notes
(#22585)
refactor(aztec-nr): rename conversion fns to encode_/decode_ naming
(#22576)
fix: adding transactions to PXE stores (#22603)
feat: infrastructure for testing `[new_contract_artfiacts,
old_aztec_stack]` (#22593)
chore: fix unnecessary and inconsistent side-effect counter increments
(#22245)
feat(aztec-nr): new BoundedVec emit private log APIs (#22064)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants