Merge pull request #8736 from filecoin-project/fix/postworker-check-params
fix: post workers: check proving params on startup
This commit is contained in:
commit
69d3542ee2
@ -293,7 +293,7 @@ var runCmd = &cli.Command{
|
||||
return err
|
||||
}
|
||||
|
||||
if cctx.Bool("commit") || cctx.Bool("prove-replica-update2") {
|
||||
if cctx.Bool("commit") || cctx.Bool("prove-replica-update2") || cctx.Bool("windowpost") || cctx.Bool("winningpost") {
|
||||
if err := paramfetch.GetParams(ctx, build.ParametersJSON(), build.SrsJSON(), uint64(ssize)); err != nil {
|
||||
return xerrors.Errorf("get params: %w", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user