-
Notifications
You must be signed in to change notification settings - Fork 105
Noop HTLC itest fixes #1080
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
base: master
Are you sure you want to change the base?
Noop HTLC itest fixes #1080
Conversation
The backwards compatibility itest is expected to fail, as the sender of the HTLCs expects a different commitment view than what the receiver is constructing. Currently the tapd feature is hidden behind the |
25098da
to
e4a0bdb
Compare
Many of our itest cases would rely on making multiple asset keysends to initialize the state for our test case. This would include the expectation that the receiver would receive enough sats to be able to pay back the sender. With noop HTLCs the sender only sends the sats to the receiver iff they are currently below reserve. We add some direct sats keysends to give the receiver some sats balance to be able to support sending back asset HTLCs.
e4a0bdb
to
6793913
Compare
Bumped lnd & tapd to the commits that address all latest feedback |
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 like the backward compatibility itest causes a force close, due to the NoOp HTLC option.
We probably need to set that to false
at the start of a backward compat test (and restore it to true
with a defer
or t.Cleanup()
).
Other than that looks good to me.
@Roasbeef: review reminder |
Description
Modifies some of our existing custom channels itests to now include some manual sats keysends to provide enough liquidity on some nodes to carry out the test case.
Our previous expectation was that asset HTLCs would always pay some sats to the receiver, but now this only happens up to the chan reserve amount.
Based on: lightningnetwork/lnd#9871 , lightninglabs/taproot-assets#1567