Add --tests-also for fetch-params
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
+6
-1
@@ -14,9 +14,14 @@ var fetchParamCmd = &cli.Command{
|
||||
Name: "only-verify-keys",
|
||||
Usage: "only download the verify keys",
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "tests-also",
|
||||
Usage: "download params used for tests",
|
||||
},
|
||||
},
|
||||
Action: func(cctx *cli.Context) error {
|
||||
if err := build.GetParams(!cctx.Bool("only-verify-keys")); err != nil {
|
||||
err := build.GetParams(!cctx.Bool("only-verify-keys"), cctx.Bool("tests-also"))
|
||||
if err != nil {
|
||||
return xerrors.Errorf("fetching proof parameters: %w", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user