feat!: remove ALL_SCOPES (backport #22136)#22161
Merged
mverzilli merged 1 commit intobackport-to-v4-next-stagingfrom Mar 30, 2026
Merged
feat!: remove ALL_SCOPES (backport #22136)#22161mverzilli merged 1 commit intobackport-to-v4-next-stagingfrom
mverzilli merged 1 commit intobackport-to-v4-next-stagingfrom
Conversation
Collaborator
Author
Flakey Tests🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
This is a breaking change in the interface between PXE and wallets. ALL_SCOPES allowed wallets to request PXE to run operations "for all its known accounts". This PR removes that option and forces all layers of the system to explicitly state which addresses to use as scope by providing an array of addresses. An empty array now means "no account in scope" (it used to default to "ALL_SCOPES" particularly when executing utilities).
87a4869 to
19daacc
Compare
Base automatically changed from
claudebox/backport-22113-scoped-capsules
to
backport-to-v4-next-staging
March 30, 2026 17:56
mverzilli
approved these changes
Mar 30, 2026
d79af8a
into
backport-to-v4-next-staging
22 of 26 checks passed
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.
Summary
Backport of #22136 to v4-next, stacked on #22157 (backport of #22113 scoped capsules).
Removes the
ALL_SCOPESoption andAccessScopestype, forcing all callers to explicitly specify which addresses are in scope viaAztecAddress[]. This is a breaking change in the PXE/wallet interface.Stacking
This PR is stacked on
claudebox/backport-22113-scoped-capsules(#22157) which introduces CapsuleService. With that base in place, the cherry-pick applies cleanly with no conflicts.