Skip to content

Commit

Permalink
Update safe_tx_gas.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nnsW3 authored Oct 2, 2024
1 parent 0142ec8 commit cfdcfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/safe_tx_gas.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ require(gasleft() >=

If the Safe transaction fails (e.g. because of a revert in the target contract or out of gas) the Safe contract will "catch" the error and still increase the `nonce` so that the transaction cannot be tried again.

This essentially means if you set a `safeTxGas` that is too low, your transaction might fail with out of gas and it is not possible to retry the same transaction, therefore it is important to set a correct `safeTxGas` value.
This essentially means if you set a `safeTxGas` that is too low, your transaction might fail without gas and it is not possible to retry the same transaction, therefore it is important to set a correct `safeTxGas` value.

Most wallets will estimate Ethereum transaction by checking with what gas limit the transaction does not revert. As the Safe Smart Account contracts will "catch" the internal revert, most wallets will estimate the gas limit to the minimum value required to satisfy the `safeTxGas`. This makes it very important to correctly estimate the `safeTxGas` value.

Expand Down

0 comments on commit cfdcfd8

Please sign in to comment.