metamask-extension
metamask-extension copied to clipboard
[Bug]: metamask bug at opbnb network
Describe the bug
while converting number to string, invalid number value '1.1e-9', should be a number matching (^-?[0-9.]+).
Expected behavior
on OPBNB network the gas price is 9 wei. metamask can't process it in right way.
Screenshots/Recordings
Steps to reproduce
- select opbnb network
- send bnb to other address
- modify the gas price to 9 wei
- the errors will replay and you can't send assert forever
Error messages or log output
while converting number to string, invalid number value '1.1e-9', should be a number matching (^-?[0-9.]+).
Version
11.9.4
Build type
None
Browser
Chrome, Firefox, Microsoft Edge, Brave
Operating system
Windows, MacOS, Linux
Hardware wallet
No response
Additional context
while converting number to string, invalid number value '1.1e-9', should be a number matching (^-?[0-9.]+).
Severity
No response
Related to https://github.com/MetaMask/metamask-extension/issues/22605
Thank you so much for reporting this issue @differs .
A similar issue was fixed recently and it will be available in the release-11.12.0
. I've tested the fix and it is working for opbnb
network.
https://github.com/MetaMask/metamask-extension/assets/45455812/d0f784eb-b0dc-42cd-bb17-80dab3ca154b
Let me know if you need anything else.
Closing the issue as fixed. Don't hesitate to reopen if there's anything else!