Skip to content

Commit

Permalink
Replace dotenv with dotenvy. (scroll-tech#934)
Browse files Browse the repository at this point in the history
  • Loading branch information
silathdiir authored Sep 12, 2023
1 parent 570dd5b commit 47ff003
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ anyhow = "1.0"
base64 = "0.13.0"
blake2 = "0.10.3"
chrono = "0.4.19"
dotenv = "0.15.0"
dotenvy = "0.15.7"
ethers-core = "0.17.0"
git-version = "0.3.5"
hex = "0.4.3"
Expand Down
2 changes: 1 addition & 1 deletion prover/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ pub fn chunk_trace_to_witness_block(mut chunk_trace: Vec<BlockTrace>) -> Result<

// Return the output dir.
pub fn init_env_and_log(id: &str) -> String {
dotenv::dotenv().ok();
dotenvy::dotenv().ok();
let output_dir = create_output_dir(id);

LOGGER.call_once(|| {
Expand Down

0 comments on commit 47ff003

Please sign in to comment.