stmgr: Update stmgr utils

This commit is contained in:
Łukasz Magiera 2020-02-11 03:33:27 +01:00
parent cd31b6721c
commit f5c78e67b0

View File

@ -3,6 +3,7 @@ package sealing
import ( import (
"context" "context"
"github.com/filecoin-project/specs-actors/actors/builtin"
"github.com/multiformats/go-multihash" "github.com/multiformats/go-multihash"
"golang.org/x/xerrors" "golang.org/x/xerrors"
@ -88,7 +89,7 @@ func checkSeal(ctx context.Context, maddr address.Address, si SectorInfo, api se
Value: types.NewInt(0), Value: types.NewInt(0),
GasPrice: types.NewInt(0), GasPrice: types.NewInt(0),
GasLimit: types.NewInt(9999999999), GasLimit: types.NewInt(9999999999),
Method: actors.SMAMethods.ComputeDataCommitment, Method: builtin.MethodsMarket.ComputeDataCommitment,
Params: ccparams, Params: ccparams,
} }
r, err := api.StateCall(ctx, ccmt, nil) r, err := api.StateCall(ctx, ccmt, nil)