Add RoundStateRequestSerialization test
MODIFY
WalletWasabi.Tests/UnitTests/WabiSabi/Models/SerializationTests.cs
WalletWasabi.Tests/UnitTests/WabiSabi/Models/SerializationTests.cs
using System.Collections.Generic;
+using System.Collections.Immutable;
using System.Linq;
using NBitcoin;
using NBitcoin.Secp256k1;
@@ -160,6 +161,15 @@ public class SerializationTests
Assert.Equal(expectedJson, serializedCoin);
}
+ [Fact]
+ public void RoundStateRequestSerialization()
+ {
+ RoundStateCheckpoint stateCheckpoint = new(uint256.One, 0);
+ RoundStateRequest request = new(ImmutableList.Create(stateCheckpoint));
+
+ AssertSerialization(request);
+ }
+
[Fact]
public void RoundStateResponseSerialization()
{

Add RoundStateRequestSerialization test