-
Notifications
You must be signed in to change notification settings - Fork 927
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
If safeTxGas is 0 the tx should be reverted on failure #274
Milestone
Comments
|
rmeissner
added a commit
that referenced
this issue
Mar 23, 2021
rmeissner
added a commit
that referenced
this issue
Mar 23, 2021
Uxio0
pushed a commit
that referenced
this issue
May 6, 2021
Saw-mon-and-Natalie
pushed a commit
to Saw-mon-and-Natalie/safe-contracts
that referenced
this issue
Nov 1, 2023
help |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We do not revert if a Safe transaction fails to be able to invalidate the nonce. This is especially important if we use a relay service. In this case it is also important that a proper
safeTxGas
is set so that the relayer is required to sent enough gas.In cases where no
safeTxGas
is sent (aka it is0
) the relayer functionality of the Safe contracts should therefore not be used. If we assume that the transaction is not executed by a relayer (e.g. an owner) we should revert on failure.Considerations
To ensure that this is only applied when no relayer is used the
gasPrice
should also be required to be0
The text was updated successfully, but these errors were encountered: