Open seaona opened 5 months ago
The value
property should be validated to be a valid number or hex string within the TransactionController
, hence the assignment to the transactions team.
screenshots of states with 0xinvalid
maxFeePerGas
https://github.com/MetaMask/metamask-extension/issues/26547 duplicate
Issues is present in v11.16.16 and v.12.0.5
Describe the bug
Problem: whenever triggering a transaction from a dapp, if the
maxFeePerGas
or themaxPriorityFeePerGas
have an invalid value type (ie string), MM breaks.Expected behavior
Handle invalid gas params coming from a dapp
Screenshots/Recordings
https://github.com/MetaMask/metamask-extension/assets/54408225/1fde043f-5ff6-4ed7-88b1-c8a192d4aa60
Steps to reproduce
Error messages or log output
No response
Version
11.10.0 but possibly earlier
Build type
None
Browser
Chrome
Operating system
Linux
Hardware wallet
No response
Additional context
No response
Severity
No response