fuzz: add chanmon stuck HTLC invariant#4601
fuzz: add chanmon stuck HTLC invariant#4601joostjager wants to merge 1 commit intolightningdevkit:mainfrom
Conversation
|
👋 Thanks for assigning @TheBlueMatt as a reviewer! |
|
The diff is a single, well-placed assertion block. My prior review covered all the substantive analysis. There are no new issues to flag. No issues found. This is a clean, well-placed invariant check in |
|
Merge order: #4571 first if no new changes needed there. |
b015492 to
0d735df
Compare
|
Rebased after merge of #4571 |
Assert that channel HTLC sets are empty after harness quiescence.
0d735df to
f0edabb
Compare
This adds a chanmon consistency fuzz invariant that checks for stuck channel HTLCs after the harness has settled all state. The previous corpus signal was indirect, usually showing up as a later capacity assertion failure, so the new invariant makes the oracle point at the actual leftover HTLC state.
The invariant reproduced the stuck-HTLC issue on upstream/main with this corpus entry:
0270801109191109191f1f10b6ffVerified that #4520 fixes the issue.