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

Don't swallow revert reason when executing transaction. #28

Open
MicahZoltu opened this issue May 16, 2024 · 0 comments
Open

Don't swallow revert reason when executing transaction. #28

MicahZoltu opened this issue May 16, 2024 · 0 comments

Comments

@MicahZoltu
Copy link

require(exec(to, value, data, operation), "Module transaction failed");

Calling exec results in the revert reason being lost, which makes debugging failure incredibly difficult. With a revert reason it would take a couple seconds to figure out why the transaction being called failed, but without it takes hours.

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