generated from MetaMask/template-snap-monorepo
-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Store metadata when revoking a permission #228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jeffsmale90
merged 23 commits into
main
from
feat/store-metadata-when-revoking-permission
Jan 21, 2026
Merged
Changes from 5 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
00f9018
Extend StoredGrantedPermission in profile sync to allow storing revoc…
V00D00-child 7bae408
Merge branch 'main' of github.com:MetaMask/snap-7715-permissions into…
V00D00-child 0fda362
Wire up fetching a transaction receipt given a transaction hash
V00D00-child 81e96d4
Expand revocation metadata to have a blockTimestamp value
V00D00-child f60ca10
Ensure revocation transaction has not failed before storing metadata …
V00D00-child 7b1ce40
Update comments
V00D00-child 637de8c
Add test for checkTransactionReceipt function
V00D00-child 632169f
Revocation metadata now defaults to undefined
V00D00-child 9b306d2
Make revocationMetadata required on StoredGrantedPermission type, but…
V00D00-child b89a9ca
Update StoredGrantedPermission zod scheme to have a default for revoc…
V00D00-child 3fb85d4
Add Zod schema for runtime validation of TransactionReceipt. Move del…
V00D00-child 81e61df
Bugfix: Unconfigured profile sync manager missing third parameter
V00D00-child 7093480
Rename BlockchainMetadataClient to BlockchainClient. Make revocationM…
V00D00-child 5dbb6e6
Add missing txHash validation in checkTransactionReceipt method
V00D00-child 9bde018
Merge branch 'main' into feat/store-metadata-when-revoking-permission
V00D00-child cd86102
Fix failing test
V00D00-child 3e7d238
Update revocation metadata and processing
jeffsmale90 513dd16
Merge branch 'main' into feat/store-metadata-when-revoking-permission
jeffsmale90 c42eb7b
Fix linting errors - just upgraded linting rules
jeffsmale90 4d2e396
Minor fixes from review:
jeffsmale90 bab8e38
Update blockchainClient to reference the correct classname in log sta…
jeffsmale90 c16a254
Fix linting and test that was incorrectly passing revocationMetadata
jeffsmale90 ca86387
Fix invalid params shape in test
jeffsmale90 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.