More lint fixes

This commit is contained in:
Aayush Rajasekaran 2020-09-18 03:06:28 -04:00
parent fce423c743
commit 694463ffbe
4 changed files with 4 additions and 1 deletions

View File

@ -530,6 +530,5 @@ func (sp *StatePredicates) OnAddressMapChange() DiffInitActorStateFunc {
return true, addressChanges, nil*/
panic("TODO")
return false, nil, nil
}
}

View File

@ -246,6 +246,7 @@ func TestMarketPredicates(t *testing.T) {
Code: v0builtin.StorageMarketActorCodeID,
Head: marketCid,
})
require.NoError(t, err)
changed, _, err = diffDealStateFn(ctx, marketState, marketState)
require.NoError(t, err)
require.False(t, changed)
@ -358,6 +359,7 @@ func TestMarketPredicates(t *testing.T) {
Code: v0builtin.StorageMarketActorCodeID,
Head: marketCid,
})
require.NoError(t, err)
changed, _, err = diffDealBalancesFn(ctx, marketState, marketState)
require.NoError(t, err)
require.False(t, changed)

View File

@ -262,6 +262,7 @@ func (sm *StateManager) ApplyBlocks(ctx context.Context, parentEpoch abi.ChainEp
}
} else {
// TODO: ActorUpgrade
params = nil
}
sysAct, err := vmi.StateTree().GetActor(builtin.SystemActorAddr)

View File

@ -412,6 +412,7 @@ func (r *refunder) ProcessTipset(ctx context.Context, tipset *types.TipSet, refu
sn = proveCommitSector.SectorNumber
} else {
// TODO: ActorUpgrade
sn = -1
}
// We use the parent tipset key because precommit information is removed when ProveCommitSector is executed