MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.69k stars 4.79k forks source link

[Bug]: Transactions - Cannot send a transaction using a custom localhost network #25655

Open seaona opened 2 weeks ago

seaona commented 2 weeks ago

Describe the bug

Whenever I import a custom ganache network and start a transaction, the tx always fails with a fresh account.

Expected behavior

Tx should succeed

Screenshots/Recordings

https://github.com/MetaMask/metamask-extension/assets/54408225/f70226e7-487e-4d73-95ae-2eb878a57ed0

Steps to reproduce

  1. Start ganache locally
  2. Import the network
  3. Import and account with funds
  4. Send a tx
  5. See how tx always fails

Error messages or log output

No response

Version

11.16.x prod

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

MinHtet-O commented 1 week ago

It's happening the same for me. Not only can I not send transactions, but I also cannot execute smart contract transactions. In Ganache, eth_sendRawTransaction is logged, but after that, the transaction never gets executed and does not form a new block.

Dup: https://github.com/MetaMask/metamask-extension/issues/25693

gauthierpetetin commented 1 week ago

Duplicate issue with interesting context: https://github.com/MetaMask/metamask-extension/issues/25693