-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix: fix granted permissions when adding an existing network via wallet_addEthereumChain
#29837
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
adonesky1
merged 29 commits into
main
from
jl/mmp-3814/fix-grant-permissions-add-ethereum-chain
Jan 31, 2025
Merged
Changes from 8 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b7bf2ac
remove approvalFlowId. replace isAddFlow with autoApprove
jiexi 65a837b
WIP wallet_addEthereumChain specs
jiexi 15248fb
replace withPermissionControllerConnectedToTestDappWithChain with wit…
jiexi 0d44554
add wallet_addEthereumChain spec
jiexi 493e644
lint
jiexi 9097ee2
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi d21a6bc
remove withPermissionControllerConnectedToTestDappWithTwoChains
jiexi fcc79fc
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi 11f009f
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi 2e5ea92
Update test/e2e/json-rpc/wallet_addEthereumChain.spec.ts
jiexi 0d3c7f9
Update test/e2e/json-rpc/wallet_addEthereumChain.spec.ts
jiexi 9d67497
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi 1cffddb
Merge remote-tracking branch 'origin/jl/mmp-3814/fix-grant-permission…
jiexi d37a303
Merge remote-tracking branch 'origin/jl/mmp-3814/fix-grant-permission…
jiexi d9b397b
assert the approval is for a switch
jiexi 6b5c973
jsdoc
jiexi 06f8e6a
always call switchChain to ensure correct permittedChain permissions …
jiexi e5f13fb
update hooks.autoApprove jsdoc
jiexi 81ea328
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi 7921445
lint
jiexi 3fb039a
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi b1b2f8e
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
adonesky1 a686e2b
add test case (#29885)
adonesky1 8b5cedd
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi 21ee113
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
adonesky1 b5905f7
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
jiexi d924efc
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
adonesky1 4579d6a
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
adonesky1 060a6cd
Merge branch 'main' into jl/mmp-3814/fix-grant-permissions-add-ethere…
adonesky1 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
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
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.