update encoding test to how amino skips empty pointers

This commit is contained in:
Ismail Khoffi
2018-08-01 13:29:41 +02:00
parent 619bb3b2d7
commit 24ae878b9f
2 changed files with 155 additions and 23 deletions

View File

@ -67,11 +67,6 @@ func TestProto3Compatibility(t *testing.T) {
Height: 150,
Time: &proto3.Timestamp{Seconds: seconds, Nanos: nanos},
NumTxs: 7,
// This is not fully skipped in amino (yet) although it is empty:
LastBlockID: &proto3.BlockID{
PartsHeader: &proto3.PartSetHeader{
},
},
TotalTxs: 100,
LastCommitHash: []byte("commit hash"),
DataHash: []byte("data hash"),