-
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
update: builtin to builtin11 in wdpost worker #10715
update: builtin to builtin11 in wdpost worker #10715
Conversation
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.
Thanks a lot for catching this and the fix! We'll likely include this fix in the release
It also looks like there are missing parameters causing wdpost test to fail:
2023-04-21T04:34:58.457Z INFO advmgr sealer/manager_post.go:85 GenerateWindowPoSt run at lotus-miner
2023-04-21T04:34:58.457Z ERROR wdpost wdpost/wdpost_run.go:433 error generating window post: local prover: No cached parameters found for proof-of-spacetime-fallback-merkletree-poseidon_hasher-8-0-0-0170db1f394b35d995252228ee359194b13199d259380541dc529fb0099096b0 [failure finding /var/tmp/filecoin-proof-parameters/v28-proof-of-spacetime-fallback-merkletree-poseidon_hasher-8-0-0-0170db1f394b35d995252228ee359194b13199d259380541dc529fb0099096b0.params] {"cycle": "2023-04-21T04:34:58.453Z"}
2023-04-21T04:34:58.458Z ERROR wdpost wdpost/wdpost_run.go:98 runPoStCycle failed: running window post failed:
github.com/filecoin-project/lotus/storage/wdpost.(*WindowPoStScheduler).runPoStCycle
/home/circleci/lotus/storage/wdpost/wdpost_run.go:494
- local prover:
github.com/filecoin-project/lotus/storage/sealer.(*Manager).GenerateWindowPoSt
/home/circleci/lotus/storage/sealer/manager_post.go:88
We will look into fixing that as well
Thank you very much for the testing and the catch! |
Should we backport this to release/v1.22.0 too? |
@ZenGround0 done in #10716. This should get pulled in when we merge |
Hi , @magik6k ,After modifying this problem, I updated the version to test on calibnet, and WdPoSt still failed lotus-miner version
|
I will update to v1.22.0 and test again |
I think I'm in the same boat. I cannot generate windowPoST. I have 0 power.
|
Submitted issue: #10733 |
Related Issues
none
Proposed Changes
storage/sealer/manager_post.go:
"github.com/filecoin-project/specs-actors/v6/actors/builtin" ->
"github.com/filecoin-project/go-state-types/builtin"
Additional Info
This is the log about wd post worker on calibnet
Apr 21 03:49:30 node lotus-miner[54989]: 2023-04-21T03:49:30.121+0800 INFO wdpost wdpost/wdpost_run.go:411 running window post {"cycle": "2023-04-21T03:49:29.754+0800", "chain-random": "u9W8Rko1E2nQs8Qzc59u44V6h3AX1xteF0B7zK0VWVg=", "deadline": {"CurrentEpoch":489793,"PeriodStart":489812,"Index":0,"Open":489812,"Close":489872,"Challenge":489792,"FaultCutoff":489742,"WPoStPeriodDeadlines":48,"WPoStProvingPeriod":2880,"WPoStChallengeWindow":60,"WPoStChallengeLookback":20,"FaultDeclarationCutoff":70}, "height": "489793", "skipped": 0}
Apr 21 03:49:30 node lotus-miner[54989]: 2023-04-21T03:49:30.121+0800 INFO wdpost wdpost/wdpost_run.go:431 computing window post {"cycle": "2023-04-21T03:49:29.754+0800", "batch": 0, "elapsed": 0.000042143, "skip": 0, "err": "get sectors count of partition failed:unsupported proof type: 13:\n github.com/filecoin-project/specs-actors/v6/actors/builtin.PoStProofWindowPoStPartitionSectors\n /home/sirius/go/pkg/mod/github.com/filecoin-project/specs-actors/[email protected]/actors/builtin/sector.go:127", "errVerbose": "get sectors count of partition failed:unsupported proof type: 13:\n github.com/filecoin-project/specs-actors/v6/actors/builtin.PoStProofWindowPoStPartitionSectors\n /home/sirius/go/pkg/mod/github.com/filecoin-project/specs-actors/[email protected]/actors/builtin/sector.go:127:\n github.com/filecoin-project/lotus/storage/sealer.(*Manager).generateWindowPoSt\n /home/sirius/go/src/github.com/siriusyim/lotus/storage/sealer/manager_post.go:118"}
Apr 21 03:49:30 node lotus-miner[54989]: 2023-04-21T03:49:30.121+0800 ERROR wdpost wdpost/wdpost_run.go:433 error generating window post: get sectors count of partition failed:unsupported proof type: 13:
Apr 21 03:49:30 node lotus-miner[54989]: 2023-04-21T03:49:30.121+0800 ERROR wdpost wdpost/wdpost_run.go:98 runPoStCycle failed: running window post failed:
Apr 21 03:49:30 node lotus-miner[54989]: - get sectors count of partition failed:unsupported proof type: 13:
Apr 21 03:49:30 node lotus-miner[54989]: 2023-04-21T03:49:30.122+0800 WARN wdpost wdpost/wdpost_changehandler.go:254 Aborted window post Proving (Deadline: &{CurrentEpoch:489793 PeriodStart:489812 Index:0 Open:489812 Close:489872 Challenge:489792 FaultCutoff:489742 WPoStPeriodDeadlines:48 WPoStProvingPeriod:2880 WPoStChallengeWindow:60 WPoStChallengeLookback:20 FaultDeclarationCutoff:70})
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, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps