diff --git a/chain/gen/genesis/miners.go b/chain/gen/genesis/miners.go index 01d962a8f..8ca3a0423 100644 --- a/chain/gen/genesis/miners.go +++ b/chain/gen/genesis/miners.go @@ -159,6 +159,7 @@ func SetupStorageMiners(ctx context.Context, cs *store.ChainStore, sroot cid.Cid { params := &market.VerifyDealsOnSectorProveCommitParams{ DealIDs: []abi.DealID{dealIDs[pi]}, + SectorSize: m.SectorSize, SectorExpiry: preseal.Deal.EndEpoch, } diff --git a/storage/mockstorage/preseal.go b/storage/mockstorage/preseal.go index 1a2c01e8b..740deb6c9 100644 --- a/storage/mockstorage/preseal.go +++ b/storage/mockstorage/preseal.go @@ -31,7 +31,7 @@ func PreSeal(ssize abi.SectorSize, maddr address.Address, sectors int) (*genesis Sectors: make([]*genesis.PreSeal, sectors), } - _, st, err := ffiwrapper.SealProofTypeFromSectorSize(ssize) + st, err := ffiwrapper.SealProofTypeFromSectorSize(ssize) if err != nil { return nil, nil, err }