chore: Enable token permissions in production build#40813
Merged
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
- @metamask/gator-permissions-snap from ^1.1.1 to ^1.2.0 - @metamask/permissions-kernel-snap from ^1.0.0 to ^1.1.0
739d07f to
5cac273
Compare
Contributor
Builds ready [5cac273]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
|
Contributor
Builds ready [3ab8169]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
mj-kiwi
approved these changes
Mar 11, 2026
McOso
approved these changes
Mar 12, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.



Description
Enables the following token permissions in production build:
erc20-token-streamnative-token-streamerc20-token-periodicnative-token-periodicBumps the Advanced Permissions dependencies:
Changelog
CHANGELOG entry: Enables token permissions via EIP-7715
Related issues
Fixes:
Manual testing steps
Expect the permission requesting flow to work as expected
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Enables additional EIP-7715 permission types in the default build and upgrades the related snap/controller packages, which could affect permission-request flows at runtime. Risk is limited to the Advanced Permissions feature area but impacts production builds.
Overview
Enables EIP-7715 token streaming and periodic permission types in production by expanding
GATOR_ENABLED_PERMISSION_TYPESbeyond just ERC20 revocation.Bumps Advanced Permissions dependencies to newer versions (
@metamask/gator-permissions-controller^2.1.0,@metamask/gator-permissions-snap^1.2.0,@metamask/permissions-kernel-snap^1.1.0) and updatesyarn.lockaccordingly.Written by Cursor Bugbot for commit 3ab8169. This will update automatically on new commits. Configure here.