-
Notifications
You must be signed in to change notification settings - Fork 174
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
rpc: Return error on tx revert in SimulateTransactions #1380
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1380 +/- ##
==========================================
+ Coverage 72.76% 74.21% +1.45%
==========================================
Files 96 91 -5
Lines 9943 9316 -627
==========================================
- Hits 7235 6914 -321
+ Misses 2167 1859 -308
- Partials 541 543 +2 ☔ View full report in Codecov by Sentry. |
99dd4e1
to
3d6aaad
Compare
Sorry to break it to you but this behaviour is no longer needed, it was decided upon to just return the trace for a reverted transaction. |
Looks like I talked too soon :) |
Sorry, but things have changes since you implemented this, so I have to ask for another rewrite :/ Lines 76 to 80 in 3248d59
Let's add a new flag to
|
- Ensure `SimulateTransactions` returns an error on transaction revert
3d6aaad
to
4a98a21
Compare
Had to go ahead and implement it myself due to time constraints. |
No worries. Few hours time-constraint will usually end up in such scenarios since I am working on it in my spare time 😄 |
The third time is a charm 😅
closes #1108