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

feat: store failed receipts and RAVs #108

Merged
merged 1 commit into from Jan 10, 2024
Merged

feat: store failed receipts and RAVs #108

merged 1 commit into from Jan 10, 2024

Conversation

aasseman
Copy link
Collaborator

@aasseman aasseman commented Jan 9, 2024

Fixes #98

Note that for now there is no easy way to unit test this because of how tap_core is designed.

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
@aasseman aasseman added size:medium Medium p1 High priority type:feature New or enhanced functionality labels Jan 9, 2024
@aasseman aasseman self-assigned this Jan 9, 2024
Copy link

github-actions bot commented Jan 9, 2024

Pull Request Test Coverage Report for Build 7454908166

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.9%) to 62.327%

Totals Coverage Status
Change from base Build 7202769501: -0.9%
Covered Lines: 2298
Relevant Lines: 3687

💛 - Coveralls

Copy link
Collaborator

@hopeyen hopeyen left a comment

Choose a reason for hiding this comment

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

looks good

Copy link
Contributor

@gusinacio gusinacio left a 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?
Copy link
Contributor

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

💯

@aasseman aasseman merged commit 505fbb1 into main Jan 10, 2024
7 checks passed
@aasseman aasseman deleted the aasseman/issue98 branch January 10, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p1 High priority size:medium Medium type:feature New or enhanced functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat.Req] Handle TAP payment faults
3 participants