Skip to content

Add exported miner methods: GetBeneficiary, MaxTerminationFee, InitialPledge#427

Open
adityabelgaonkar05 wants to merge 3 commits intofilecoin-project:masterfrom
adityabelgaonkar05:master
Open

Add exported miner methods: GetBeneficiary, MaxTerminationFee, InitialPledge#427
adityabelgaonkar05 wants to merge 3 commits intofilecoin-project:masterfrom
adityabelgaonkar05:master

Conversation

@adityabelgaonkar05
Copy link
Copy Markdown

@adityabelgaonkar05 adityabelgaonkar05 commented Jan 24, 2026

Adds missing exported miner methods so other actors can call them.
Adds GetBeneficiaryExported (V10–V18) and MaxTerminationFeeExported + InitialPledgeExported (V16–V18).

Closes #403

… and InitialPledge across multiple versions.
Copilot AI review requested due to automatic review settings January 24, 2026 12:32
@github-project-automation github-project-automation bot moved this to 📌 Triage in FilOz Jan 24, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds missing exported miner methods to enable other actors to call them via the FRC (Filecoin Request for Comment) method interface. The changes align with the builtin actors implementation and address issue #403.

Changes:

  • Added GetBeneficiaryExported method to miner actor versions v10 through v18
  • Added MaxTerminationFeeExported method to miner actor versions v16 through v18
  • Added InitialPledgeExported method to miner actor versions v16 through v18

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
builtin/v18/miner/methods.go Added GetBeneficiaryExported, MaxTerminationFeeExported, and InitialPledgeExported exported methods
builtin/v17/miner/methods.go Added GetBeneficiaryExported, MaxTerminationFeeExported, and InitialPledgeExported exported methods
builtin/v16/miner/methods.go Added GetBeneficiaryExported, MaxTerminationFeeExported, and InitialPledgeExported exported methods
builtin/v15/miner/methods.go Added GetBeneficiaryExported exported method
builtin/v14/miner/methods.go Added GetBeneficiaryExported exported method
builtin/v13/miner/methods.go Added GetBeneficiaryExported exported method
builtin/v12/miner/methods.go Added GetBeneficiaryExported exported method
builtin/v11/miner/methods.go Added GetBeneficiaryExported exported method
builtin/v10/miner/methods.go Added GetBeneficiaryExported exported method

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@adityabelgaonkar05
Copy link
Copy Markdown
Author

@rjan90 could you take a look?

@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting Review in FilOz Jan 27, 2026
@BigLep BigLep requested a review from rjan90 January 27, 2026 04:30
Copy link
Copy Markdown
Contributor

@ZenGround0 ZenGround0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-project-automation github-project-automation bot moved this from 🔎 Awaiting Review to ✔️ Approved by reviewer in FilOz Feb 25, 2026
@BigLep
Copy link
Copy Markdown
Member

BigLep commented Mar 3, 2026

Will merge once checks finish (assuming they are successful).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✔️ Approved by reviewer

Development

Successfully merging this pull request may close these issues.

Add missing MaxTerminationFeeExported InitialPledgeExported and GetBeneficiaryExported miner methods

4 participants