diff --git a/builtin/methods.go b/builtin/methods.go index e6cee9dd..3cc0c620 100644 --- a/builtin/methods.go +++ b/builtin/methods.go @@ -212,7 +212,7 @@ var MethodsMiner = struct { ReportConsensusFault abi.MethodNum WithdrawBalance abi.MethodNum WithdrawBalanceExported abi.MethodNum - ConfirmSectorProofsValid abi.MethodNum + InternalSectorSetupForPreseal abi.MethodNum ChangeMultiaddrs abi.MethodNum ChangeMultiaddrsExported abi.MethodNum CompactPartitions abi.MethodNum diff --git a/builtin/v14/gen/gen.go b/builtin/v14/gen/gen.go index c78a9686..84dfeb41 100644 --- a/builtin/v14/gen/gen.go +++ b/builtin/v14/gen/gen.go @@ -181,7 +181,7 @@ func main() { miner.ApplyRewardParams{}, miner.ReportConsensusFaultParams{}, miner.WithdrawBalanceParams{}, - miner.ConfirmSectorProofsParams{}, + miner.InternalSectorSetupForPresealParams{}, miner.ChangeMultiaddrsParams{}, miner.CompactPartitionsParams{}, miner.CompactSectorNumbersParams{}, diff --git a/builtin/v14/miner/cbor_gen.go b/builtin/v14/miner/cbor_gen.go index 9d9ce934..8a478e7a 100644 --- a/builtin/v14/miner/cbor_gen.go +++ b/builtin/v14/miner/cbor_gen.go @@ -4986,9 +4986,9 @@ func (t *WithdrawBalanceParams) UnmarshalCBOR(r io.Reader) (err error) { return nil } -var lengthBufConfirmSectorProofsParams = []byte{132} +var lengthBufInternalSectorSetupForPresealParams = []byte{132} -func (t *ConfirmSectorProofsParams) MarshalCBOR(w io.Writer) error { +func (t *InternalSectorSetupForPresealParams) MarshalCBOR(w io.Writer) error { if t == nil { _, err := w.Write(cbg.CborNull) return err @@ -4996,7 +4996,7 @@ func (t *ConfirmSectorProofsParams) MarshalCBOR(w io.Writer) error { cw := cbg.NewCborWriter(w) - if _, err := cw.Write(lengthBufConfirmSectorProofsParams); err != nil { + if _, err := cw.Write(lengthBufInternalSectorSetupForPresealParams); err != nil { return err } @@ -5033,8 +5033,8 @@ func (t *ConfirmSectorProofsParams) MarshalCBOR(w io.Writer) error { return nil } -func (t *ConfirmSectorProofsParams) UnmarshalCBOR(r io.Reader) (err error) { - *t = ConfirmSectorProofsParams{} +func (t *InternalSectorSetupForPresealParams) UnmarshalCBOR(r io.Reader) (err error) { + *t = InternalSectorSetupForPresealParams{} cr := cbg.NewCborReader(r) diff --git a/builtin/v14/miner/methods.go b/builtin/v14/miner/methods.go index 4729cf0f..c7bba158 100644 --- a/builtin/v14/miner/methods.go +++ b/builtin/v14/miner/methods.go @@ -28,8 +28,8 @@ var Methods = map[abi.MethodNum]builtin.MethodMeta{ 15: {"ReportConsensusFault", *new(func(*ReportConsensusFaultParams) *abi.EmptyValue)}, // ReportConsensusFault 16: {"WithdrawBalance", *new(func(*WithdrawBalanceParams) *abi.TokenAmount)}, // WithdrawBalance builtin.MustGenerateFRCMethodNum("WithdrawBalance"): {"WithdrawBalanceExported", *new(func(*WithdrawBalanceParams) *abi.TokenAmount)}, // WithdrawBalanceExported - 17: {"ConfirmSectorProofsValid", *new(func(*ConfirmSectorProofsParams) *abi.EmptyValue)}, // ConfirmSectorProofsValid - 18: {"ChangeMultiaddrs", *new(func(*ChangeMultiaddrsParams) *abi.EmptyValue)}, // ChangeMultiaddrs + 17: {"InternalSectorSetupForPreseal", *new(func(*InternalSectorSetupForPresealParams) *abi.EmptyValue)}, // InternalSectorSetupForPreseal + 18: {"ChangeMultiaddrs", *new(func(*ChangeMultiaddrsParams) *abi.EmptyValue)}, // ChangeMultiaddrs builtin.MustGenerateFRCMethodNum("ChangeMultiaddrs"): {"ChangeMultiaddrsExported", *new(func(*ChangeMultiaddrsParams) *abi.EmptyValue)}, // ChangeMultiaddrsExported 19: {"CompactPartitions", *new(func(*CompactPartitionsParams) *abi.EmptyValue)}, // CompactPartitions 20: {"CompactSectorNumbers", *new(func(*CompactSectorNumbersParams) *abi.EmptyValue)}, // CompactSectorNumbers diff --git a/builtin/v14/miner/miner_types.go b/builtin/v14/miner/miner_types.go index b1515451..6b913bf9 100644 --- a/builtin/v14/miner/miner_types.go +++ b/builtin/v14/miner/miner_types.go @@ -347,7 +347,7 @@ type ApplyRewardParams struct { Penalty abi.TokenAmount } -type ConfirmSectorProofsParams struct { +type InternalSectorSetupForPresealParams struct { Sectors []abi.SectorNumber RewardSmoothed smoothing.FilterEstimate RewardBaselinePower abi.StoragePower