0

According to these info this and this, it looks like there should be SafeTxGas parameter, but in my environment, there is not, and GasLimit end up zero and transaction always fail.

I'm using v1.3 of Gnosis Safe in Rinkeby environment.

enter image description here

1 Answer 1

0

If the gas limit is 0, it means that we couldn't estimate it because the transaction is failing or there's a bug on our side. You can try to simulate the transaction on Tenderly and check if it's valid.

2
  • Thank you. Do you know how I can estimate it? I usually know the reason by sending tx anyway, and see the revert reason, but Gnosis returns their own message(e,g, 'GS013'). Is there any way I can know the reason(e.g. "Safe math")
    – kohshiba
    Commented Feb 6, 2022 at 8:49
  • You cannot estimate it if it reverts. You can simulate the transaction on Tenderly to check the error. List of Safe error codes can be found here: github.com/gnosis/safe-contracts/blob/…
    – mikheevm
    Commented Feb 7, 2022 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.