Commit 1f62fa6c authored by laser's avatar laser
Browse files

feat(groth): don't get clever with cache key, be dumb

Trying to compute a cache key wasn't working as intended. We always know the version of groth parameters, so just update the key manually to match.
parent 3f336f70
...@@ -23,7 +23,6 @@ jobs: ...@@ -23,7 +23,6 @@ jobs:
- update_submodules - update_submodules
- build_project - build_project
- lint_project - lint_project
- generate_parameter_checksum
- restore_parameter_cache - restore_parameter_cache
- obtain_filecoin_parameters - obtain_filecoin_parameters
- save_parameter_cache - save_parameter_cache
...@@ -58,7 +57,6 @@ jobs: ...@@ -58,7 +57,6 @@ jobs:
- update_submodules - update_submodules
- build_project - build_project
- lint_project - lint_project
- generate_parameter_checksum
- restore_parameter_cache - restore_parameter_cache
- obtain_filecoin_parameters - obtain_filecoin_parameters
- save_parameter_cache - save_parameter_cache
...@@ -118,16 +116,11 @@ commands: ...@@ -118,16 +116,11 @@ commands:
steps: steps:
- restore_cache: - restore_cache:
keys: keys:
- v2-proof-params-{{ checksum "parameter-checksum.txt" }} - v14-proof-params
save_parameter_cache: save_parameter_cache:
steps: steps:
- save_cache: - save_cache:
key: v2-proof-params-{{ checksum "parameter-checksum.txt" }} key: v14-proof-params
paths: paths:
- "~/filecoin-proof-parameters/" - "~/filecoin-proof-parameters/"
generate_parameter_checksum:
steps:
- run:
name: create parameter cache checksum
command: md5sum ./paramcache | cut -d ' ' -f 1 >> parameter-checksum.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment