safe-react-apps icon indicating copy to clipboard operation
safe-react-apps copied to clipboard

Polygon txns limited to 1 MATIC

Open itali43 opened this issue 2 years ago • 1 comments

Description

Presently, when using the txn builder safe app via app.safe.global I get this error that prevents me from sending a transaction.

[ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32000,"message":"tx fee (2.50 ether) exceeds the configured cap (1.00 ether)"}}}'

The transaction I am doing is on the Polygon mainnet, when it was fairly busy and the function I am calling is a relatively heavy lift so the gas is substantial. From what I can tell, the txn builder app is disallowing me from using more than 1 MATIC because it is set from a max of 1 ETH. A great limit for ETH but a very inconvenient one for relatively big transactions on Polygon.

Environment

  • Browser:
  • Mac/Chrome 112.0.5615.49
  • Wallet: MetaMask
  • Safe: matic:0x459EEAbA1311f54314c8E73E18d6C2616883af8c
  • Environment:
    • production (matic): polygon mainnet

Steps to reproduce

  1. Try and execute a transaction using transaction builder on polygon mainnet that needs more than 1 MATIC of gas.

Expected result

  1. Execution

Obtained result

  1. Rejection/replacement necessary
  2. Either get this error [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32000,"message":"tx fee (2.50 ether) exceeds the configured cap (1.00 ether)"}}}'
  3. or send it with less than 1 MATIC gas and need to reject it eventually b/c too little gas for network

Screenshots

Forgot to take them, but i tried this multiple times over multiple txns and I got the same result.

itali43 avatar Apr 17 '23 06:04 itali43