Skip to content

fix(cli): add deposit-margin-factor to lotus miner init command#13407

Merged
rjan90 merged 4 commits intofilecoin-project:masterfrom
tediou5:fix/lotus-miner-init
Oct 30, 2025
Merged

fix(cli): add deposit-margin-factor to lotus miner init command#13407
rjan90 merged 4 commits intofilecoin-project:masterfrom
tediou5:fix/lotus-miner-init

Conversation

@tediou5
Copy link
Copy Markdown
Contributor

@tediou5 tediou5 commented Oct 30, 2025

Related Issues

#13365

Proposed Changes

Unify the behavior of lotus-miner init and lotus-shed miner create. Add deposit-margin-factor to amplify the simulated deposit and cover network fluctuations. The amplification factor is set to 1.01 by default.

Additional Info

Checklist

Before you mark the PR ready for review, please make sure that:

@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Oct 30, 2025
@tediou5
Copy link
Copy Markdown
Contributor Author

tediou5 commented Oct 30, 2025

@tediou5 tediou5 marked this pull request as ready for review October 30, 2025 03:01
@tediou5
Copy link
Copy Markdown
Contributor Author

tediou5 commented Oct 30, 2025

cc @rjan90

@tediou5 tediou5 moved this from 📌 Triage to 🔎 Awaiting Review in FilOz Oct 30, 2025
@tediou5 tediou5 requested a review from BigLep October 30, 2025 03:02
Comment thread cli/miner/init.go Outdated
@rvagg
Copy link
Copy Markdown
Member

rvagg commented Oct 30, 2025

sgtm

Co-authored-by: Rod Vagg <rod@vagg.org>
@github-project-automation github-project-automation Bot moved this from 🔎 Awaiting Review to ✔️ Approved by reviewer in FilOz Oct 30, 2025
@rjan90 rjan90 merged commit a0f4afa into filecoin-project:master Oct 30, 2025
95 checks passed
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Oct 30, 2025
aceppaluni pushed a commit to aceppaluni/lotus that referenced this pull request Dec 2, 2025
…ilecoin-project#13407)

* fix(cli): add  to lotus-miner init

* chore: make docsgen-cli

* chore: update CHANGELOG.md

* chore: improve error message

Co-authored-by: Rod Vagg <rod@vagg.org>

---------

Co-authored-by: Rod Vagg <rod@vagg.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

3 participants