More lint fixes
This commit is contained in:
parent
fce423c743
commit
694463ffbe
@ -530,6 +530,5 @@ func (sp *StatePredicates) OnAddressMapChange() DiffInitActorStateFunc {
|
||||
return true, addressChanges, nil*/
|
||||
|
||||
panic("TODO")
|
||||
return false, nil, nil
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user