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

Receipt saving bug #177

Merged
merged 3 commits into from
Feb 17, 2022
Merged

Receipt saving bug #177

merged 3 commits into from
Feb 17, 2022

Conversation

Voxelot
Copy link
Member

@Voxelot Voxelot commented Feb 17, 2022

This addresses a bug where receipts aren't saved if the transaction panics. They were being saved to the wrong database transaction which gets dropped if the tx panics, and should only be used for state changes from the script execution.

@Voxelot Voxelot added the bug Something isn't working label Feb 17, 2022
iqdecay
iqdecay previously approved these changes Feb 17, 2022
Copy link
Contributor

@iqdecay iqdecay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! Testing it locally.

@iqdecay iqdecay dismissed their stale review February 17, 2022 14:11

The code does not seem to compile actually

@iqdecay
Copy link
Contributor

iqdecay commented Feb 17, 2022

Fixed the block typo, and testing it locally is a success! thanks a lot

Copy link
Member

@digorithm digorithm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh? That's one sneaky bug. LGTM!

@Voxelot
Copy link
Member Author

Voxelot commented Feb 17, 2022

ah thanks for the fix - I was just waking up

@Voxelot Voxelot merged commit 940b0b1 into master Feb 17, 2022
@Voxelot Voxelot deleted the receipt-handling branch February 17, 2022 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants