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

Remove unwrap in transaction receipt rpc call #79

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

JulianGCalderon
Copy link
Contributor

@JulianGCalderon JulianGCalderon commented Oct 23, 2024

Getting the transaction receipt can fail. If it fails, an error message is logged and the execution continues. If it doesn't failed, the transaction result is compare to rpc, as usual.

To do this, I moved all the compare logic to a new function compare_execution and only calls it if the receipt can be retreived.

Depends on #77

Base automatically changed from rpc-errors to main October 25, 2024 20:17
@JulianGCalderon JulianGCalderon changed the title Remove unwraps in transaction receipt Remove unwrap in transaction receipt rpc call Oct 28, 2024
@JulianGCalderon JulianGCalderon marked this pull request as ready for review October 28, 2024 17:57
@pefontana pefontana added this pull request to the merge queue Oct 29, 2024
Merged via the queue into main with commit 0fcec27 Oct 29, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

4 participants