feat: update go-fil-markets to v1.23.0

This commit is contained in:
Dirk McCormick
2022-07-06 11:43:06 -04:00
committed by Jennifer Wang
parent 75d78de336
commit 2d2b06464c
4 changed files with 16 additions and 12 deletions
+3 -1
View File
@@ -111,7 +111,9 @@ func TestImportLocal(t *testing.T) {
// recreate the unixfs dag, and see if it matches the original file byte by byte
// import the car into a memory blockstore, then export the unixfs file.
bs := blockstore.NewBlockstore(datastore.NewMapDatastore())
_, err = car.LoadCar(ctx, bs, exported.DataReader())
r, err := exported.DataReader()
require.NoError(t, err)
_, err = car.LoadCar(ctx, bs, r)
require.NoError(t, err)
dag := merkledag.NewDAGService(blockservice.New(bs, offline.Exchange(bs)))