Read monitors from our KeysInterface in chanmon_consistency_fuzz
authorMatt Corallo <git@bluematt.me>
Tue, 9 Feb 2021 20:22:44 +0000 (15:22 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 21 May 2021 15:10:45 +0000 (15:10 +0000)
commitda54848ba4f140a856b79bc3e8240b55b0ca6337
tree42399dd166d8a9baf02669ae4ed9fab63399e605
parente19d7ef824f52dc1dd18b7a595586d2e3178e7ac
Read monitors from our KeysInterface in chanmon_consistency_fuzz

If the fuzz target is failing due to a channel force-close, the
immediately-visible error is that we're signing a stale state. This
is because the ChannelMonitorUpdateStep::ChannelForceClosed event
results in a signature in the test clone which was deserialized
using a OnlyReadsKeysInterface. Instead, we need to deserialize
using the full KeysInterface instance.
fuzz/src/chanmon_consistency.rs