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

fix: worker: Download proofs if PRU2 is enabled #8555

Merged
merged 1 commit into from
May 3, 2022

Conversation

rjan90
Copy link
Contributor

@rjan90 rjan90 commented Apr 26, 2022

The lotus-worker does not check or download the params if Prove Replica Update tasks are enabled, meaning that you get an param-error if you for example a run a new 'PC1 / RU / PRU2' worker and a SnapDeal gets assigned to it. Reported in #8549.

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

The lotus-worker does not check or download the params if Prove Replica Update tasks are enabled.
@rjan90 rjan90 requested a review from a team as a code owner April 26, 2022 07:11
@codecov
Copy link

codecov bot commented Apr 26, 2022

Codecov Report

Merging #8555 (a50a20b) into master (1162b02) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #8555      +/-   ##
==========================================
- Coverage   40.83%   40.78%   -0.05%     
==========================================
  Files         686      686              
  Lines       75587    75587              
==========================================
- Hits        30867    30831      -36     
- Misses      39391    39423      +32     
- Partials     5329     5333       +4     
Impacted Files Coverage Δ
cmd/lotus-worker/main.go 0.00% <0.00%> (ø)
chain/events/message_cache.go 87.50% <0.00%> (-12.50%) ⬇️
chain/actors/builtin/miner/diff.go 48.52% <0.00%> (-10.30%) ⬇️
chain/events/events_called.go 83.90% <0.00%> (-4.40%) ⬇️
storage/wdpost_sched.go 77.45% <0.00%> (-3.93%) ⬇️
extern/sector-storage/sched.go 84.41% <0.00%> (-2.29%) ⬇️
extern/storage-sealing/currentdealinfo.go 70.17% <0.00%> (-1.76%) ⬇️
chain/stmgr/searchwait.go 67.30% <0.00%> (-1.29%) ⬇️
itests/kit/blockminer.go 88.58% <0.00%> (-1.09%) ⬇️
chain/vm/vm.go 61.63% <0.00%> (-1.07%) ⬇️
... and 13 more

@arajasek arajasek merged commit 7036636 into master May 3, 2022
@arajasek arajasek deleted the fix/worker-proofs-snapdeals branch May 3, 2022 19:08
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