Conversation
b3c4282 to
c8fb76b
Compare
c8fb76b to
ad27653
Compare
049b236 to
f67a738
Compare
Replaces the custom channel data backup with the new peer storage (lightning/bolts#1110)
f67a738 to
e62306e
Compare
modules/core/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/wire/LightningMessages.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/wire/ChannelTlv.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonTest/kotlin/fr/acinq/lightning/channel/states/NegotiatingTestsCommon.kt
Show resolved
Hide resolved
modules/core/src/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonTest/kotlin/fr/acinq/lightning/io/peer/PeerTest.kt
Show resolved
Hide resolved
.../commonTest/kotlin/fr/acinq/lightning/serialization/channel/StateSerializationTestsCommon.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/io/Peer.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/channel/Encryption.kt
Show resolved
Hide resolved
modules/core/src/commonMain/kotlin/fr/acinq/lightning/serialization/channel/Encryption.kt
Outdated
Show resolved
Hide resolved
...e/src/commonTest/kotlin/fr/acinq/lightning/channel/states/WaitForFundingSignedTestsCommon.kt
Show resolved
Hide resolved
modules/core/src/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt
Show resolved
Hide resolved
| "right": "03c57839fd412868a398bea05d01678a752661126a2d1357a0f7cb6f0c60311125" | ||
| }, | ||
| "remotePerCommitmentSecrets": "<redacted>", | ||
| "remoteChannelData": { |
There was a problem hiding this comment.
I cannot put a comment on deleted files, but can you explain why you removed some test cases from this nonreg folder? We should always be able to keep decoding the .bin file, otherwise we may be introducing a compatibility issue. Instead of deleting a whole folder, you should always just update the json file, which shows that we can still decode the binary state (even though we're now ignoring the remoteChannelData).
There was a problem hiding this comment.
The test cases that I removed are using ShutdownTlv.ChannelData which I thought we wanted to remove. I've restored the tests and kept the legacy TLV.
There was a problem hiding this comment.
Got it, that was the reason, because we're including a whole Shutdown message in those states. Let's keep it for now, and this will be cleaned up when we get rid of v2 and v3 in #685
.../commonTest/kotlin/fr/acinq/lightning/serialization/channel/StateSerializationTestsCommon.kt
Outdated
Show resolved
Hide resolved
modules/core/src/commonTest/kotlin/fr/acinq/lightning/wire/LightningCodecsTestsCommon.kt
Outdated
Show resolved
Hide resolved
This reverts commit c94350e.
but keep the ones for channelreestablish and shutdown
Replaces the custom channel data backup with the new peer storage (lightning/bolts#1110)