feat(anonymizer): a shadow account is its interaction's associated address - #950
Open
avi-starkware wants to merge 1 commit into
Open
Conversation
This was referenced Aug 12, 2026
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
avi-starkware
marked this pull request as ready for review
August 12, 2026 08:54
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 17, 2026 18:52
586ad93 to
fd82f75
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 17, 2026 18:52
36bcddf to
c6a5864
Compare
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 18, 2026 05:58
fd82f75 to
b79c463
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 18, 2026 05:58
c6a5864 to
727fd7b
Compare
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 18, 2026 10:43
b79c463 to
2a49606
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 18, 2026 10:43
727fd7b to
cd67ff5
Compare
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 18, 2026 13:45
2a49606 to
dff5be0
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 18, 2026 13:45
cd67ff5 to
d23f210
Compare
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 18, 2026 14:31
dff5be0 to
7e779ab
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 18, 2026 14:31
d23f210 to
b3b8d14
Compare
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 19, 2026 07:24
7e779ab to
83e2d4a
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 19, 2026 07:25
b3b8d14 to
87434d5
Compare
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 19, 2026 07:49
83e2d4a to
ef5bacf
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 19, 2026 07:49
87434d5 to
3538169
Compare
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 19, 2026 09:21
ef5bacf to
0b5bb24
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 19, 2026 09:22
3538169 to
eb5bf8c
Compare
…dress privacy_invoke_with_computation returns the shadow account its deposits passed through after those deposits, so the privacy contract learns the address to screen from the interaction that produced them rather than by asking a second time. Nothing is appended when there are no deposits, which is the same condition as settling no note. The pool-side e2e test moves to the production posture: listed Delegated, attesting the predicted address.
avi-starkware
force-pushed
the
avi/screening-v3/delegated-query
branch
from
August 19, 2026 10:49
0b5bb24 to
eaa153c
Compare
avi-starkware
force-pushed
the
avi/screening-v3/anonymizer-screening-subjects
branch
from
August 19, 2026 10:49
eb5bf8c to
c09c6c1
Compare
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.

The anonymizer answers the pool's delegated screening query:
get_screening_subjectsnames theshadow account the deposits passed through, which is the address compliance must cover — the dapp
pays the shadow account, and the anonymizer collects from there into an open note. Its parameters
mirror
privacy_invoke_with_computation, because the pool forwards that call's calldata verbatim,so the view's parameter list is the deserializer for it;
callsis declared and never read, sincewhich shadow account acts decides the address, not what it does. No open notes means no answer.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com
This change is