Rename to --include-test-params
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
bc3dac0426
commit
383c5c0c6f
@ -29,7 +29,7 @@ commands:
|
||||
- 'v15-lotus-params-'
|
||||
paths:
|
||||
- /var/tmp/filecoin-proof-parameters/
|
||||
- run: ./lotus fetch-params --tests-also
|
||||
- run: ./lotus fetch-params --include-test-params
|
||||
- save_cache:
|
||||
name: Save parameters cache
|
||||
key: 'v15-lotus-params-{{ checksum "build/proof-params/parameters.json" }}'
|
||||
|
@ -15,12 +15,12 @@ var fetchParamCmd = &cli.Command{
|
||||
Usage: "only download the verify keys",
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "tests-also",
|
||||
Name: "include-test-params",
|
||||
Usage: "download params used for tests",
|
||||
},
|
||||
},
|
||||
Action: func(cctx *cli.Context) error {
|
||||
err := build.GetParams(!cctx.Bool("only-verify-keys"), cctx.Bool("tests-also"))
|
||||
err := build.GetParams(!cctx.Bool("only-verify-keys"), cctx.Bool("include-test-params"))
|
||||
if err != nil {
|
||||
return xerrors.Errorf("fetching proof parameters: %w", err)
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ func TestSealAndVerify(t *testing.T) {
|
||||
|
||||
build.SectorSizes = []uint64{sectorSize}
|
||||
|
||||
if err := build.GetParams(true); err != nil {
|
||||
if err := build.GetParams(true, true); err != nil {
|
||||
t.Fatalf("%+v", err)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user