app-ethereum icon indicating copy to clipboard operation
app-ethereum copied to clipboard

Fix Ethereum App v1.15.0 failing for Filecoin EVM erc20 transactions

Open eshon opened this issue 1 year ago • 1 comments

Description

  • Attempting to send Filecoin EVM erc20s using the Ledger Ethereum App v1.15.0 and MetaMask fails with no Ledger confirmation and a generic MetaMask error (this is the error in the MM browser console).

  • Attempting to send using the Glif.io wallet results in this error message:

Transaction failed
An internal error was received. Request Arguments: chain: undefined (id: 314) from: 0x[some_address] to: 0x[another_address] value: 0 ETH data: 0xa9059cbb0000000000000000000000006d8cf9fd4e7b51e905357a93362865ba2ce4bccc000000000000000000000000000000000000000000000000016345785d8a0000 gas: 38095031 maxFeePerGas: 0.018620575 gwei maxPriorityFeePerGas: 0.007368307 gwei nonce: 1 Details: Ledger: Unknown error while signing transaction Version: [email protected]

Your environment

  • Ledger Ethereum App v1.15.0
  • MetaMask v12.11.0
  • Nano X

Steps to reproduce

  • Send any erc20 on Filecoin's EVM (e.g. iFIL available at Glif.io)
  • The issue seems to be in the Ledger Ethereum App v1.15.0 only, earlier versions do not have this issue
  • Try sending any erc20 on Filecoin's EVM

Expected behaviour

A confirmation message should show up on the Ledger HW device but never does.

Actual behaviour

The attempted transaction leads to no Ledger HW confirmation and just fails silently in MetaMask.

Logs

Image

Proposed solution

There seems to be some issue with Filecoin EVM erc20 payload received by the Ledger device when connecting to it from MetaMask and trying to sign an erc20 Send transaction.

eshon avatar Apr 04 '25 10:04 eshon

This is most probably happening as Filecoin isn't listed in the supported networks in the Ethereum app. It will be fixed once we ship the dynamic networks feature. In the meantime, did you try to use the Filecoin wallet with Filecoin app? It should support Filecoin ERC-20 transfers without any issue.

vforgeoux-ledger avatar Apr 17 '25 17:04 vforgeoux-ledger