Remove largely useless checks in chanmon_consistency fuzzer
authorMatt Corallo <git@bluematt.me>
Mon, 28 Aug 2023 01:35:16 +0000 (01:35 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 12 Sep 2023 19:06:34 +0000 (19:06 +0000)
commit5c3fa553a10be74a123b9530da4aec2342164d97
treee56af713632a64fd2064ab83cf273cba011129bc
parentce94a5ec221d63f47d65f674b46422b1612147bf
Remove largely useless checks in chanmon_consistency fuzzer

When reloading nodes A or C, the chanmon_consistency fuzzer
currently calls `get_and_clear_pending_msg_events` on the node,
potentially causing additional `ChannelMonitor` or `ChannelManager`
updates, just to check that no unexpected messages are generated.

There's not much reason to do so, the fuzzer could always swap for
a different command to call the same method, and the additional
checking requires some weird monitor persistence introspection.

Here we simplify the fuzzer by simply removing this logic.
fuzz/src/chanmon_consistency.rs