Skip to content

Commit

Permalink
use sha-256 chunk hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
erikgrinaker committed Mar 29, 2020
1 parent c6bbb0a commit 23f37df
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions baseapp/baseapp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1524,17 +1524,17 @@ func TestListSnapshots(t *testing.T) {
resp := app.ListSnapshots(abci.RequestListSnapshots{})
assert.Equal(t, abci.ResponseListSnapshots{Snapshots: []*abci.Snapshot{
{Height: 5, Format: 1, ChunkHashes: [][]byte{
[]byte(",]\346\203\334\033\226p\t\227\224\330\345\026w\017\264\006-\263"),
[]byte("\371\027\272a\351.3j\232e\025\344\025Xq\370\267\326\036\024"),
[]byte("\335\273\365\036\373\027\"K~&\344\266\021\350\273?\017|[8"),
[]byte("v$\227\346\206I\216\0369\242o\230 \224\263\303\302vh\264\310\340\232\325\375\230H\033\360`\217;"),
[]byte("\252w\\2\267\037\360J\213\236\032\323\236\233\214\373X\326\346\207*\024h`\316\337=9\026\315\004s"),
[]byte(",Y\313W3\013\260d\356\347\251\372\337Tjm\2171\375\273\327fS\333\273F\360\357\003\266\353\t"),
}, Metadata: nil},
{Height: 4, Format: 1, ChunkHashes: [][]byte{
[]byte("\353/u\320\327!\231\337w\013hI\253\010\026R\352O\263C"),
[]byte(">\375O\214\350\014o\304Z\216\023r\340\0205{^\320$\352"),
[]byte("\367'\377\021\033f\221\353\360\265\007A|X\340[\242\367\345\321b\355< \330\223O\035A\032\207\232"),
[]byte("\035\257J\214\270\033#\033\020\3218\262R\256C\334\014c\352JDo\024\354E\000\217Y\326R\275\312"),
}, Metadata: nil},
{Height: 3, Format: 1, ChunkHashes: [][]byte{
[]byte("\243\342\247\\y\320\326,9\003[\003A\331\253\237\376\360L\267"),
[]byte("5\344og\n\273N\332\027T>\303\373\031\230\013\261^\330w"),
[]byte("nT\334\303\322\344m\005\022\035\344\r\036\266\227\357\014wqh\232\244\231\200\226yJb\303\023\036H"),
[]byte("\337@'\374\033\256\240\210\026\230sX\322\030j%W\223\225\313\264\242\037\242\022\262!\263 \351$\034"),
}, Metadata: nil},
}}, resp)
}
Expand Down

0 comments on commit 23f37df

Please sign in to comment.