more lint
This commit is contained in:
parent
bc75c53660
commit
7219fae0a1
@ -356,7 +356,7 @@ func (x *msgIndex) doApply(ctx context.Context, tx *sql.Tx, ts *types.TipSet) er
|
||||
for _, blk := range ts.Blocks() {
|
||||
bmsgs, smsgs, err := x.cs.MessagesForBlock(ctx, blk)
|
||||
if err != nil {
|
||||
return xerrors.Errorf("error retrieving messages for block %s in %s: %w", blk, ts, err)
|
||||
return xerrors.Errorf("error retrieving messages for block %s in %s: %w", blk.Cid(), ts, err)
|
||||
}
|
||||
|
||||
for _, m := range bmsgs {
|
||||
|
@ -126,7 +126,7 @@ func (nd *Node) CreateSim(ctx context.Context, name string, head *types.TipSet)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
sm, err := stmgr.NewStateManager(nd.Chainstore, consensus.NewTipSetExecutor(filcns.RewardFunc), vm.Syscalls(mock.Verifier), filcns.DefaultUpgradeSchedule(), nil, nd.MetadataDS)
|
||||
sm, err := stmgr.NewStateManager(nd.Chainstore, consensus.NewTipSetExecutor(filcns.RewardFunc), vm.Syscalls(mock.Verifier), filcns.DefaultUpgradeSchedule(), nil, nd.MetadataDS, index.DummyMsgIndex)
|
||||
if err != nil {
|
||||
return nil, xerrors.Errorf("creating state manager: %w", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user