[Bug]: Navigation between unapproved transactions breaks MM with Cannot read properties of undefined (reading 'length') / Message: Should have a queue. This is likely a bug in React. errors #27913
Labels
regression-develop
Regression bug that was found on development branch, but not yet present in production
release-12.6.0
Issue or pull request that will be included in release 12.6.0
team-confirmations
Push issues to confirmations team
type-bug
Describe the bug
Navigation between two pending malicious transactions breaks MetaMask with errors:
Cannot read properties of undefined (reading 'length')
and
Message: Should have a queue. This is likely a bug in React
At the moment, functionalities like
Malicious ERC20 Approval (BUSD)
andMalicious Set Approval for All
are not operating as anticipated in both the develop branch and the RC 12.5.0 version on Base and BNB networks.#27909
#27905
If a user initiates two consecutive transactions where the latter is a Malicious Set Approval for All, attempting to navigate between these transactions in the popup triggers an error. However, in the Expanded view, these transactions appear as unapproved and can be successfully processed or cancelled.
Expected behavior
No errors
Screenshots/Recordings
1.mov
2.mov
Steps to reproduce
Malicious Set Approval for All
Alternatively, trigger
Malicious Set Approval for All
first and then any button from PPOM section - this will produce another type of error.Error messages or log output
No response
Detection stage
On the development branch
Version
12.4.1
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
No response
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: