Skip to content

itest: add <354 sats payment coverage for custom channels #874

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

Conversation

GeorgeTsagk
Copy link
Member

Description

This PR adds coverage for the scenario where an asset invoice worth less than 354 sats is paid for with sats (from a node that is not the RFQ peer).

This case triggers a specific code check in lnd where the incoming/outgoing sats produce a negative fee
(see related issue)

The current expected status of the payment is set to lnrpc.PAYMENT_FAILED as this has not yet been patched.
This itest will be updated in order to expect a lnrpc.PAYMENT_SUCCEEDED once this behavior is fixed in lnd
(see related PR for tracking)

@dstadulis
Copy link

Coverage for the current behavior.
Expected behavior will change.
Need to link to a negative fee check.

@dstadulis dstadulis changed the title itest: add <354sats payment coverage for custom channels itest: add <354 sats payment coverage for custom channels Oct 22, 2024
@guggero
Copy link
Member

guggero commented Oct 22, 2024

This PR should now base against the update-to-lnd-18-4 branch, there shouldn't be anything going to the 0-19-staging branch anymore, with how close we are to merging the "real" branch.

@dstadulis dstadulis assigned guggero and unassigned GeorgeTsagk Oct 29, 2024
@guggero
Copy link
Member

guggero commented Oct 30, 2024

Cherry picked commit 9c10445 onto #848.

@guggero guggero closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants