Skip to content

Commit

Permalink
update cpsv naming (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 authored Jun 24, 2024
1 parent 84b5046 commit cf50ca0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion builtin/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion builtin/v14/gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func main() {
miner.ApplyRewardParams{},
miner.ReportConsensusFaultParams{},
miner.WithdrawBalanceParams{},
miner.ConfirmSectorProofsParams{},
miner.InternalSectorSetupForPresealParams{},
miner.ChangeMultiaddrsParams{},
miner.CompactPartitionsParams{},
miner.CompactSectorNumbersParams{},
Expand Down
10 changes: 5 additions & 5 deletions builtin/v14/miner/cbor_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions builtin/v14/miner/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion builtin/v14/miner/miner_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf50ca0

Please sign in to comment.