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

feat: miner: API/CLI to compute window-post #8389

Merged
merged 1 commit into from
Mar 29, 2022
Merged

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented Mar 28, 2022

Related Issues

Much better version of #7915

Proposed Changes

This PR adds a new ComputeWindowPoSt method and a lotus-miner proving compute window-post command which make it possible to manually trigger a window PoSt, which can be useful to verify changes in proving setup (e.g. PoSt worker working correctly / is fast enough)

Additional Info

Checklist

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

  • All commits have a clear commit message.
  • The PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs,perf, refactor, revert, style, test
    • area: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps
  • This PR has tests for new functionality or change in behaviour
  • If new user-facing features are introduced, clear usage guidelines and / or documentation updates should be included in https://lotus.filecoin.io or Discussion Tutorials.
  • CI is green

@magik6k magik6k requested a review from a team as a code owner March 28, 2022 20:58
@magik6k magik6k force-pushed the feat/manual-wdpost branch from ebc1a04 to 4e5b5c6 Compare March 28, 2022 20:58
@magik6k magik6k force-pushed the feat/manual-wdpost branch from 4e5b5c6 to 54cb55a Compare March 28, 2022 21:06
@magik6k magik6k requested review from ZenGround0 and arajasek March 28, 2022 21:43
@codecov
Copy link

codecov bot commented Mar 28, 2022

Codecov Report

Merging #8389 (54cb55a) into master (a709a0a) will decrease coverage by 0.03%.
The diff coverage is 63.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8389      +/-   ##
==========================================
- Coverage   40.67%   40.63%   -0.04%     
==========================================
  Files         686      686              
  Lines       75262    75325      +63     
==========================================
- Hits        30613    30612       -1     
- Misses      39363    39396      +33     
- Partials     5286     5317      +31     
Impacted Files Coverage Δ
api/api_storage.go 0.00% <ø> (ø)
cmd/lotus-miner/proving.go 25.92% <0.00%> (-1.98%) ⬇️
node/impl/storminer.go 24.10% <60.00%> (+0.25%) ⬆️
storage/wdpost_run.go 70.48% <90.00%> (+0.14%) ⬆️
node/builder_miner.go 95.07% <100.00%> (ø)
node/modules/storageminer.go 63.08% <100.00%> (+1.17%) ⬆️
chain/events/message_cache.go 87.50% <0.00%> (-12.50%) ⬇️
chain/exchange/client.go 52.96% <0.00%> (-8.48%) ⬇️
blockstore/api.go 24.00% <0.00%> (-8.00%) ⬇️
chain/events/events_called.go 83.90% <0.00%> (-4.40%) ⬇️
... and 20 more

@magik6k magik6k merged commit d502eeb into master Mar 29, 2022
@magik6k magik6k deleted the feat/manual-wdpost branch March 29, 2022 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants