Skip to content
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

not all transactions on tenderly that contain reverts are unsuccessful #700

Open
gosuto-inzasheru opened this issue May 19, 2023 · 0 comments

Comments

@gosuto-inzasheru
Copy link

Description

we just had a tx which was being flagged as "failing" or "reverting" by the safe ui based on the tenderly sim. however, a try:catch code block in our smart contract catches that revert and thus the transaction completes successfully at the end. we executed it anyway and it went through. see https://etherscan.io/tx/0xcdc7a4f60a74671e5553f9cd234ce065c9d96e2736eddf2b52e0602f49b20035 (note the Although one or more Error Occurred [execution reverted] Contract Execution Completed)

anyway i think the checking for reverts should be a bit more specific, not all reverts mean the tx will fail. it took us a while to muster the courage to exec because of your warnings 🙂

Environment

safe v1.3.0, mainnet

Steps to reproduce

post a tx that will revert internally, but which will be caught by a try:except and thus execute succesfully. then run tenderly sim and check warning.

Expected result

less aggressive warning

Obtained result

aggressive warning (tx will fail!). not true.

Screenshots

didnt take any

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant