Skip to content

Commit f5f7d9b

Browse files
authored
feat(env): rename parameter cache environment variable to convention (#881)
1 parent 4145d0d commit f5f7d9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

filecoin-proofs/src/bin/parampublish.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub fn main() {
3030
.about(
3131
&format!(
3232
"
33-
Set $FILECOIN_PARAMETER_CACHE to specify parameter directory.
33+
Set $FIL_PROOFS_PARAMETER_CACHE to specify parameter directory.
3434
Defaults to '{}'
3535
",
3636
PARAMETER_CACHE_DIR

storage-proofs/src/parameter_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::error::Error::Unclassified;
1818
/// Bump this when circuits change to invalidate the cache.
1919
pub const VERSION: usize = 12;
2020

21-
pub const PARAMETER_CACHE_ENV_VAR: &str = "FILECOIN_PARAMETER_CACHE";
21+
pub const PARAMETER_CACHE_ENV_VAR: &str = "FIL_PROOFS_PARAMETER_CACHE";
2222

2323
pub const PARAMETER_CACHE_DIR: &str = "/var/tmp/filecoin-proof-parameters/";
2424

0 commit comments

Comments
 (0)