metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: while converting number to string, invalid number value '1.1e-9', should be a number matching (^-?[0-9.]+).

Open differs opened this issue 1 year ago • 3 comments
trafficstars

Describe the bug

while converting number to string, invalid number value '1.1e-9', should be a number matching (^-?[0-9.]+). on opbnb chain, the gas price can be set to 9 wei. when I set this gas price. metamask will got error.(Use python3 web3py script can send transaction in 9 wei) when this error got , can't recovery to default gas price

Expected behavior

No response

Screenshots/Recordings

No response

Steps to reproduce

Error messages or log output

No response

Version

11.15.5

Build type

None

Browser

Brave

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

differs avatar May 22 '24 18:05 differs

Hi @differs , thanks for reporting this issue. Can you please send us steps to reproduce it? (or a recording)

gauthierpetetin avatar May 23 '24 03:05 gauthierpetetin

  1. in chainlist.org add opbnb network.
  2. let your address keep some bnb
  3. transfer bnb, modify gas price to 9 wei
  4. this issue will reproduce

differs avatar May 23 '24 10:05 differs

Thanks a lot

gauthierpetetin avatar May 23 '24 12:05 gauthierpetetin

Hello @differs, I cannot reproduce the issue can you please confirm that it still happens? A small video would be awesome if possible.

OGPoyraz avatar Aug 01 '24 12:08 OGPoyraz

Closing as I cannot reproduce this, feel free to re-open.

OGPoyraz avatar Sep 03 '24 14:09 OGPoyraz