This commit is contained in:
Łukasz Magiera 2020-02-08 03:18:37 +01:00
parent 13435aebdc
commit 41daf5ad28
11 changed files with 35 additions and 41 deletions

View File

@ -4,7 +4,6 @@ import (
"github.com/filecoin-project/specs-actors/actors/builtin/market" "github.com/filecoin-project/specs-actors/actors/builtin/market"
) )
type smaMethods struct { type smaMethods struct {
Constructor uint64 Constructor uint64
WithdrawBalance uint64 WithdrawBalance uint64
@ -44,7 +43,6 @@ type ActivateStorageDealsParams = market.VerifyDealsOnSectorProveCommitParams
type ComputeDataCommitmentParams = market.ComputeDataCommitmentParams type ComputeDataCommitmentParams = market.ComputeDataCommitmentParams
/* /*
func (sma StorageMarketActor) HandleCronAction(act *types.Actor, vmctx types.VMContext, params *struct{}) ([]byte, ActorError) { func (sma StorageMarketActor) HandleCronAction(act *types.Actor, vmctx types.VMContext, params *struct{}) ([]byte, ActorError) {

View File

@ -501,7 +501,6 @@ func (t *StorageMinerConstructorParams) MarshalCBOR(w io.Writer) error {
return nil return nil
} }
func (t *SectorPreCommitInfo) MarshalCBOR(w io.Writer) error { func (t *SectorPreCommitInfo) MarshalCBOR(w io.Writer) error {
if t == nil { if t == nil {
_, err := w.Write(cbg.CborNull) _, err := w.Write(cbg.CborNull)
@ -1763,7 +1762,6 @@ func (t *CreateStorageMinerParams) MarshalCBOR(w io.Writer) error {
return nil return nil
} }
func (t *PowerLookupParams) MarshalCBOR(w io.Writer) error { func (t *PowerLookupParams) MarshalCBOR(w io.Writer) error {
if t == nil { if t == nil {
_, err := w.Write(cbg.CborNull) _, err := w.Write(cbg.CborNull)
@ -2056,7 +2054,6 @@ func (t *MinerSlashConsensusFault) UnmarshalCBOR(r io.Reader) error {
} }
// t.AtHeight (uint64) (uint64) // t.AtHeight (uint64) (uint64)
// t.SlashedCollateral (types.BigInt) (struct) // t.SlashedCollateral (types.BigInt) (struct)
{ {

View File

@ -193,7 +193,6 @@ func (t *BlockHeader) UnmarshalCBOR(r io.Reader) error {
} }
// t.Height (uint64) (uint64) // t.Height (uint64) (uint64)
// t.ParentMessageReceipts (cid.Cid) (struct) // t.ParentMessageReceipts (cid.Cid) (struct)
{ {

View File

@ -10,8 +10,8 @@ import (
vaddress "github.com/filecoin-project/chain-validation/pkg/state/address" vaddress "github.com/filecoin-project/chain-validation/pkg/state/address"
vtypes "github.com/filecoin-project/chain-validation/pkg/state/types" vtypes "github.com/filecoin-project/chain-validation/pkg/state/types"
"github.com/filecoin-project/specs-actors/actors/builtin"
"github.com/filecoin-project/go-address" "github.com/filecoin-project/go-address"
"github.com/filecoin-project/specs-actors/actors/builtin"
"github.com/filecoin-project/lotus/chain/actors" "github.com/filecoin-project/lotus/chain/actors"
"github.com/filecoin-project/lotus/chain/types" "github.com/filecoin-project/lotus/chain/types"