Uh oh!
There was an error while loading. Please reload this page.
Make rollbackToPreviousProvider async - #1237
Merged
Merged
Conversation
Gudahttforce-pushed
the
update-eip-1559-compatibility-during-network-lookup
branch
from
April 21, 2023 00:57
7d1d9a6 to
9ad143cCompare
This comment was marked as resolved.
This comment was marked as resolved.
Gudahttforce-pushed
the
make-rollback-to-previous-provider-async
branch
from
April 21, 2023 00:59
0415411 to
948e8aeCompareGudahttforce-pushed
the
update-eip-1559-compatibility-during-network-lookup
branch
from
April 21, 2023 01:38
9ad143c to
92d373aCompareGudahttforce-pushed
the
make-rollback-to-previous-provider-async
branch
from
April 21, 2023 12:49
948e8ae to
7f401cdCompareGudahttforce-pushed
the
update-eip-1559-compatibility-during-network-lookup
branch
from
April 21, 2023 12:51
eb4fae4 to
4e1f13cCompareGudahttforce-pushed
the
make-rollback-to-previous-provider-async
branch
from
April 21, 2023 12:51
7f401cd to
7d838f2Compare
Base automatically changed from
update-eip-1559-compatibility-during-network-lookup to
mainApril 21, 2023 13:27
The network controller method `rollbackToPreviousProvider` has been made async. This method used to switch back to the previous network without waiting for the network switch operation to complete. Now it will not resolve until the switch has completed. Relates to #1176
Gudahttforce-pushed
the
make-rollback-to-previous-provider-async
branch
from
April 21, 2023 13:28
7d838f2 to
ed71ed8CompareGudahtt
marked this pull request as ready for review
April 21, 2023 13:28
mcmire
reviewed
Apr 21, 2023
mcmire
left a comment
Collaborator
There was a problem hiding this comment.
A couple things, but otherwise looks good.
| }); | ||
| await waitForStateChanges(messenger, { | ||
| propertyPath: ['networkId'], |
Collaborator
There was a problem hiding this comment.
Thank you! I must have missed this when I wrote it.
Uh oh!
There was an error while loading. Please reload this page.
Merged
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 freeto 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.
Description
The network controller method
rollbackToPreviousProviderhas been made async. This method used to switch back to the previous network without waiting for the network switch operation to complete. Now it will not resolve until the switch has completed.Changes
rollbackToPreviousProvideris now asyncReferences
Closes#1176
Fixes#1178
Checklist