Skip to content
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

Unsettled Networks: Clear an origin's current network when revoking dApp permissions #3616

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

Shadowfiend
Copy link
Contributor

@Shadowfiend Shadowfiend commented Sep 2, 2023

Draft until I fill in some testing details.

The actual implementation is a little more subtle: permissions are for an origin AND a network. If the permission being cleared is for the origin's current network, as tracked in the InternalEthereumProvider, then that current network is cleared so that future interactions can set it.

Latest build: extension-builds-3616 (as of Sat, 02 Sep 2023 20:14:11 GMT).

The actual implementation is a little more subtle: permissions are for
an origin AND a network. If the permission being cleared is for the
origin's current network, as tracked in the `InternalEthereumProvider`,
then that current network is cleared so that future interactions can set
it.
@Shadowfiend Shadowfiend marked this pull request as ready for review October 27, 2023 01:53
@Shadowfiend
Copy link
Contributor Author

Going to turbo this one so we can look at everything in #3613 .

@Shadowfiend Shadowfiend merged commit 54118f4 into proxy-wars Oct 27, 2023
6 checks passed
@Shadowfiend Shadowfiend deleted the unsettled-networks branch October 27, 2023 01:53
@Shadowfiend Shadowfiend mentioned this pull request Nov 3, 2023
Shadowfiend added a commit that referenced this pull request Nov 7, 2023
## What's Changed
* v0.50.0 by @jagodarybacka in
#3643
* Unsettled Networks: Clear an origin's current network when revoking
dApp permissions by @Shadowfiend in
#3616
* Sepo-Ledger: Patch @ledgerhq/hw-app-eth for Arbitrum Sepolia chain id
handling by @Shadowfiend in
#3650
* Proxy Wars: More QoL improvements for dApp connections by @Shadowfiend
in #3613


**Full Changelog**:
v0.50.0...v0.51.0

Latest build:
[extension-builds-3652](https://github.com/tahowallet/extension/suites/17870144186/artifacts/1025746882)
(as of Fri, 03 Nov 2023 02:06:50 GMT).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant