-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Issue with transactions with the same nonce, cancellations, speedups, failed txs. #9053
Comments
Potentially related to #8831 @tmashuang? |
It is related, but a different flow. That solution could just be to suppress/omit hardware wallet rejection of tx from updating the tx, |
Although the root cause is a larger issue (#9053) with our grouping txs with nonces/speedups/cancels/failures(both from the node and on-chain). This PR allows all submitted transactions to be sped up through the use of the inline speedup in the activity log. I do not know if this is the appropriate way we should handle this, and could lead to more user errors than solutions with their state of the tx queue.
For testing purposes, on a Test Network we can take advantage of the exceeds block gas limit error from the RPC to simulate the tx failure.
This will/should update the tx list item to a failed state. Thus not showing any visible indication of the tx with gas price < 1 that has been submitted, and still pending on the network. I think this is fundamental issue on how we present transactions in the transaction list. |
Please include a QA step for resolving this issue where other transaction flows are also tested; e.g. the Approve Spend Limit flow which as a related (but not duplicate) issue #10129 |
This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions. |
This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions. |
Originally brought up via internal slack message. The original issue presented with subsequent transaction after a failed transaction. The tx-list-item would show the failed transasction's title/txCategory, tx details, etc instead of the newer transaction with the same nonce.
My first set was to just provide the UI with the correct tx details, but realized some information that we provide on first creation of a transaction is omitted on the
primaryTransaction
property of the tx (txCategory
). #9040. Then showing the UI the correct/updated/newest tx details #9041.Then prompts a discussion on the correct info to show when chaining these types of transactions.
To Reproduce
Reproduction OP slack issue
Get a failed transactions
transaction underpriced
Propose and confirm a new transaction
See that some of the data is from the first proposed failed transaction.
The text was updated successfully, but these errors were encountered: