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

Respect/remember gas limit

Open anxolin opened this issue 4 years ago • 0 comments

Overview

Part of #2998

Remember the gas limit defined when a Dapp sends a transaction to Gnosis Safe using the Wallet Connect bridge.

The gas limit is a field of the transaction that in principle, it's definition responsibility belongs to the Dapp and not the Wallet. Many wallets, just give you an estimation when this field is empty, however, if the Dapp defines a limit on their own, they usually respect it.

We observed that when we send our transactions to Gnosis Safe through the Wallet Connect bridge, and there's more than one signer, the last signer won't see the original transaction gas limit. The app will try to estimate itself.

The underlying motivation of the creation of this issue is however that in xDAI this estimation is wrong, breaking the Dapp workflow in this network ( see #2999).

More context on the issue: https://gnosisinc.slack.com/archives/CQB729LLF/p1635940014445400

Goals

Empower the app with the possibility to define a gas limit that would be respected.

Requirements

Remember the gas limit

Screens

N/A

Links

N/A

anxolin avatar Nov 15 '21 19:11 anxolin