-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support for logging custom errors on tx execution revert in not only real tx execution but also gas estimation #39
Merged
+486
−187
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
7e6b78d
Change so that Custom Error can be output to revertReason
dongrie dc2faf6
fix to the way to get revert reason
siburu d371625
overhaul ErrorRepository
siburu c852e9f
fix a bug
siburu 7d9990a
avoid using panicable type assertions
siburu 16a9937
fix a bug
siburu aa347c2
make errors more informative
siburu 399dd8e
emit an error log that contains the whole error data returned by EVM …
siburu f6fc68e
add "msg_index" attribute to logging in the loop of `SendMsgs`
siburu d972fff
change the way to handle default errors (Error and Panic)
siburu aac5147
add "raw_error_data" and "tx_hash" attributes to log outputs from `Se…
siburu fcb8da1
output raw_error_data also in logging in GetMsgResult
siburu 99492cd
add tx_hash attribute in logging in GetMsgResult
siburu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also contain
errorData
in the error log?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 ... sure. I will fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bluele fixed fcb8da1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ... should we also add tx_hash here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added 99492cd