-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: store failed receipts and RAVs #108
Conversation
Signed-off-by: Alexis Asseman <[email protected]>
Pull Request Test Coverage Report for Build 7454908166
💛 - Coveralls |
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.
looks good
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.
LGTM. Simple and easy to understand.
); | ||
|
||
// Save invalid receipts to the database for logs. | ||
// TODO: consider doing that in a spawned task? |
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.
Just a quick note, maybe we want to use channels with the spawned task for the future instead of spawning tasks on demand.
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.
💯
Fixes #98
Note that for now there is no easy way to unit test this because of how
tap_core
is designed.