-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix: remove methods from array used to determine which requests should be enqueued because they can be safely passed through #27315
Conversation
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. |
890ade1
to
d125ee5
Compare
LGTM after the |
d125ee5
to
fe6e705
Compare
0d5c9e6
to
37667fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adonesky1, fantastic investigation and documentation of the changes!
…enqueued because they can be safely passed through
c983e0b
to
e7d6712
Compare
Quality Gate passedIssues Measures |
Builds ready [e7d6712]
Page Load Metrics (1858 ± 122 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Missing release label release-12.3.0 on PR. Adding release label release-12.3.0 on PR and removing other release labels(release-12.6.0), as PR was cherry-picked in branch 12.3.0. |
Description
Fix issues that arise when a STX is initated in a dapp and subsequent method calls were being unnecessarily queued until the STX was complete.
The following methods can be safely removed from the list of methods we use to determine whether a request should be queued or executed immediately:
Related issues
Fixes: #27098
Manual testing steps
Screenshots/Recordings
Before
Before-wallet_requestSnaps.mov
After
wallet_requestPermissions
:Screen.Recording.2024-09-20.at.1.11.57.PM.mov
wallet_requestSnaps
Screen.Recording.2024-09-20.at.1.41.04.PM.mov
eth_requestAccounts
Screen.Recording.2024-09-20.at.1.14.44.PM.mov
wallet_addEthereumChain
Screen.Recording.2024-09-20.at.1.01.45.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist