Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polygon txns limited to 1 MATIC #691

Open
itali43 opened this issue Apr 17, 2023 · 1 comment
Open

Polygon txns limited to 1 MATIC #691

itali43 opened this issue Apr 17, 2023 · 1 comment

Comments

@itali43
Copy link

itali43 commented Apr 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@itali43 and others