Skip to content

Add note filter by script root - #249

Open
gabrielbosio wants to merge 17 commits into
nextfrom
note_filter_script_root
Open

Add note filter by script root#249
gabrielbosio wants to merge 17 commits into
nextfrom
note_filter_script_root

Conversation

@gabrielbosio

Copy link
Copy Markdown
Collaborator

No description provided.

@gabrielbosio gabrielbosio changed the title Note filter script root Filter notes by script root Jul 23, 2026
@gabrielbosio gabrielbosio changed the title Filter notes by script root Add note filter by script root Jul 23, 2026
juan518munoz and others added 14 commits July 27, 2026 10:19
…napshot

The test wiped IndexedDB under the live client and imported into the empty
store, which cannot resolve any block header. Restoring a pre-mint snapshot
keeps the scenario (note gone, chain known) without relying on client state
that a store wipe invalidates.
seed_transaction_encryption_key is async and fallible on the pinned
rust-sdk rev; the un-awaited call dropped the future, so mock clients
never actually held a key and every submission would fail to seal.
…nding

The ThreadRng temporary used to derive the mock encryption key lived
across the seeding await, and napi requires Send futures. Generate the
key before the call so the RNG is dropped first.
@gabrielbosio
gabrielbosio force-pushed the note_filter_script_root branch from 1b73926 to 477ca55 Compare July 29, 2026 15:23
@gabrielbosio
gabrielbosio changed the base branch from next to encrypt-tx-inputs July 29, 2026 15:23
@gabrielbosio
gabrielbosio marked this pull request as ready for review July 30, 2026 13:24
@gabrielbosio
gabrielbosio changed the base branch from encrypt-tx-inputs to next July 31, 2026 21:06
next moved the client crates from crates.io versions to git dependencies on
rust-sdk next, which left this branch's [patch.crates-io] block matching no
source. Point the workspace dependencies at the rust-sdk note_filter_script_root
branch instead (e70d3df8, which merges rust-sdk next) and drop the dead patch
block, so the store-level script root filter is still compiled in.

MIDEN_CLIENT_REF follows the same rev. Cargo.lock keeps next's graph: only the
two client sources change, the node rev and protocol versions are untouched.
@igamigo
igamigo requested a review from juan518munoz August 4, 2026 19:17
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