Skip to content

smite-scenarios: negotiate second channel - #294

Open
morehouse wants to merge 1 commit into
panic_initial_commitment_errorfrom
negotiate_second_channel
Open

morehouse wants to merge 1 commit into
panic_initial_commitment_errorfrom
negotiate_second_channel

Conversation

@morehouse

Copy link
Copy Markdown
Collaborator

Two-channel tests were still using injected negotiations via the harness, and we now convert those to full negotiation as well.

The second channel used to fund 20M sats to make its funding transaction different from the first. That exceeds the non-wumbo cap enforced by AcceptChannelOracle, so instead we now use the same funding amount as the first channel. The second channel is still funded from the second UTXO, so the funding transaction is still distinct.

Since no test uses it anymore, we can now remove with_negotiation().

Depends on #293.

@morehouse
morehouse added this pull request to stack #289 October 16, 2026 04:28
@morehouse
morehouse force-pushed the negotiate_second_channel branch from 3687203 to 3cfa985 Compare October 16, 2026 21:06
Two-channel tests were still using injected negotiations via the
harness, and we now convert those to full negotiation as well.

The second channel used to fund 20M sats to make its funding transaction
different from the first.  That exceeds the non-wumbo cap enforced by
AcceptChannelOracle, so instead we now use the same funding amount as
the first channel.  The second channel is still funded from the second
UTXO, so the funding transaction is still distinct.

Since no test uses it anymore, we can now remove with_negotiation().
@morehouse
morehouse force-pushed the negotiate_second_channel branch from 3cfa985 to a61bcb8 Compare October 16, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant