feat!: kv-store on SQLite-wasm over OPFS (backport #22658)#22665
Merged
mverzilli merged 3 commits intobackport-to-v4-next-stagingfrom Apr 20, 2026
Merged
feat!: kv-store on SQLite-wasm over OPFS (backport #22658)#22665mverzilli merged 3 commits intobackport-to-v4-next-stagingfrom
mverzilli merged 3 commits intobackport-to-v4-next-stagingfrom
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
mverzilli
approved these changes
Apr 20, 2026
The v4-next-staging line moved DataStoreConfig out of @aztec/stdlib/kv-store into kv-store's own ./config subpath (the new './config' export in package.json). Mirror the indexeddb backend's local import so sqlite-opfs compiles on the backport branch. Port-specific: on next/merge-train/fairies this import is still @aztec/stdlib/kv-store.
Collaborator
Author
Flakey Tests🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
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.
Backport of #22658 to v4-next.
Original PR summary
Experimental support for SQLite as a backend to kv-store, with the goal of eventually abandoning IndexedDB.
Conflicts
Single conflict in
yarn-project/kv-store/package.jsonexports map:./configexport (still imported by archiver, aztec-node, bot, node-lib, p2p, etc.) whereas that export had been removed onnext../sqlite-opfs,./stores, and./config.The rest of the cherry-pick (new
sqlite-opfs/module, wallet entrypoint wiring forwalletDb.store, yarn.lock) applied cleanly.Commits
cherry-pick: ...(with conflicts)— original squash commit applied with the conflict marker preserved inpackage.json.fix: resolve cherry-pick conflicts— keeps the./configexport alongside the new./sqlite-opfsentry.No additional build-adaptation commit was required.
ClaudeBox log: https://claudebox.work/s/3c079f039c55d141?run=1