Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CSPV naming #276

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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