airgap-it / tezos-snaps-wallet

A wallet for the Tezos MetaMask Snap
https://metamask.tezos.com
4 stars 4 forks source link

Bug: Maximum Gas Fee Limit Exceeded Due to Tezos Paris Upgrade #44

Closed khanti42 closed 3 months ago

khanti42 commented 3 months ago

Issue: Maximum Gas Fee Limit Exceeded Due to Tezos Paris Upgrade

Description

The recent Tezos Paris upgrade has introduced changes that affect the calculation of the maximum gas fee limit. This issue is causing transactions to exceed the previously established gas fee cap, leading to unexpected failures in our application.

Impact

Error Details

The following error is encountered when attempting to preview a transaction:

[
    {
        "kind": "permanent",
        "id": "proto.020-PsParisC.gas_limit_too_high"
    },
    {
        "kind": "temporary",
        "id": "proto.020-PsParisC.gas_exhausted.block"
    }
]

Steps to Reproduce

  1. Perform a transaction post-Tezos Paris upgrade.
  2. Observe the gas fee calculation.
  3. Notice the transaction failure if the gas fee exceeds the limit.

Expected Behavior

Transactions pop-up should appear.

Actual Behavior

Transactions are failing because the maximum gas fee exceeds the previously established maximum limit.