-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 #8552
fix: worker: Download proofs if PRU2 is enabled #8552
Conversation
Update the `lotus-wallet run` to include that a `FULLNODE_API_INFO` env variable needs to be set before running
Currently the lotus-worker does not check or download the params if SnapDeal 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.
Codecov Report
@@ Coverage Diff @@
## master #8552 +/- ##
==========================================
- Coverage 40.26% 40.19% -0.07%
==========================================
Files 683 683
Lines 74480 74483 +3
==========================================
- Hits 29989 29939 -50
- Misses 39263 39304 +41
- Partials 5228 5240 +12
|
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just do
if cctx.Bool("commit") || cctx.Bool("prove-replica-update2") {
above.
Using OR, instead of having a separate if/else
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now, but needs rebasing on master to fix the merge conflict
fix: ux: update `lotus-wallet run` description
Currently the lotus-worker does not check or download the params if SnapDeal 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.
Using OR, instead of having a separate if/else
Rebasing on master
…n90/lotus into fix/worker-params-snap-deals
I will have to read up a bit on git rebasing - had some issues getting it correctly here. Created a new PR for it #8555 |
Currently 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:
<PR type>: <area>: <change being made>
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, testarea
: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps