From 8697edc8b73f018029695b48b0ca1c32bc9c5259 Mon Sep 17 00:00:00 2001 From: turuslan Date: Tue, 6 Jul 2021 12:54:09 +0300 Subject: [PATCH] fix "lotus-seed car" error "merkledag: not found" --- cmd/lotus-seed/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-seed/genesis.go b/cmd/lotus-seed/genesis.go index 66de93888..a27cc0a2f 100644 --- a/cmd/lotus-seed/genesis.go +++ b/cmd/lotus-seed/genesis.go @@ -572,7 +572,7 @@ var genesisCarCmd = &cli.Command{ } ofile := c.String("out") jrnl := journal.NilJournal() - bstor := blockstore.NewMemorySync() + bstor := blockstore.WrapIDStore(blockstore.NewMemorySync()) sbldr := vm.Syscalls(ffiwrapper.ProofVerifier) _, err := testing.MakeGenesis(ofile, c.Args().First())(bstor, sbldr, jrnl)() return err