File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 8989 env:
9090 # To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
9191 RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"
92+ FOREST_TEST_SKIP_PROOF_PARAM_CHECK: 1
9293 - id : get-cache-hash
9394 run : |
9495 ls -lhR ~/.cache/forest/test/rpc-snapshots/rpc_test/*
Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ pub enum SectorSizeOpt {
6060
6161/// Ensures the parameter files are downloaded to cache dir
6262pub async fn ensure_proof_params_downloaded ( ) -> anyhow:: Result < ( ) > {
63+ #[ cfg( test) ]
64+ if is_env_truthy ( "FOREST_TEST_SKIP_PROOF_PARAM_CHECK" ) {
65+ return Ok ( ( ) ) ;
66+ }
67+
6368 let data_dir = std:: env:: var ( PROOFS_PARAMETER_CACHE_ENV ) . unwrap_or_default ( ) ;
6469 if data_dir. is_empty ( ) {
6570 anyhow:: bail!( "Proof parameter data dir is not set" ) ;
You can’t perform that action at this time.
0 commit comments