-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable suggestAutoExecute and autoClickIfNeverClicked
suggestAutoExecute and autoClickIfNeverClicked are two transactions features that help ensure the user only has to click the button once, regardless of any needed EIP-712 signatures or network additions or switches. These features offer a delightful UX where almost all users only have to click the button once. However, these features have a critical bug since the recent upgrade to wagmi v2 where unexpected ExecuteTokenTransfer renders can cause execute() to be called twice in a row, leading to the user being prompted to sign duplicate payment transactions (and duplicate payment if they sign both). This disables suggestAutoExecute and autoClickIfNeverClicked until they can be rebuilt safely.
- Loading branch information
1 parent
768e0f8
commit 2b06f0b
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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