Merge pull request #6688 from turuslan/fix/seed-car

fix "lotus-seed genesis car" error "merkledag: not found"
This commit is contained in:
Łukasz Magiera 2021-07-06 17:59:54 +02:00 committed by GitHub
commit 9f83da836d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -572,7 +572,7 @@ var genesisCarCmd = &cli.Command{
} }
ofile := c.String("out") ofile := c.String("out")
jrnl := journal.NilJournal() jrnl := journal.NilJournal()
bstor := blockstore.NewMemorySync() bstor := blockstore.WrapIDStore(blockstore.NewMemorySync())
sbldr := vm.Syscalls(ffiwrapper.ProofVerifier) sbldr := vm.Syscalls(ffiwrapper.ProofVerifier)
_, err := testing.MakeGenesis(ofile, c.Args().First())(bstor, sbldr, jrnl)() _, err := testing.MakeGenesis(ofile, c.Args().First())(bstor, sbldr, jrnl)()
return err return err