Skip to content

Commit

Permalink
Mirrors branch jms-timeless-history2 from private at a9acf2741f6ddb1e…
Browse files Browse the repository at this point in the history
…d431d8143e0f1ed41672173d
  • Loading branch information
shahar4 committed Oct 2, 2023
1 parent f4f9e69 commit e806bf5
Show file tree
Hide file tree
Showing 32 changed files with 346 additions and 441 deletions.
105 changes: 40 additions & 65 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions core/bin/storage_logs_dedup_migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "storage_logs_dedup_migration"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"

[[bin]]
name = "storage_logs_dedup_migration"
Expand Down
3 changes: 2 additions & 1 deletion core/bin/verification_key_generator_and_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "zksync_verification_key_generator_and_server"
version = "0.1.0"
edition = "2018"
license = "MIT OR Apache-2.0"

[lib]
name = "zksync_verification_key_server"
Expand All @@ -23,7 +24,7 @@ path = "src/commitment_generator.rs"
zksync_types = { path = "../../lib/types" }
zksync_prover_utils = { path = "../../lib/prover_utils" }
vlog = { path = "../../lib/vlog" }
circuit_testing = { git = "https://github.com/matter-labs/circuit_testing.git", branch = "main" }
circuit_testing = { git = "https://github.com/matter-labs/era-circuit_testing.git", branch = "main" }
itertools = "0.10.5"
bincode = "1.3.3"

Expand Down
2 changes: 1 addition & 1 deletion core/lib/contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub struct SystemContractsRepo {
impl SystemContractsRepo {
/// Returns the default system contracts repo with directory based on the ZKSYNC_HOME environment variable.
pub fn from_env() -> Self {
let zksync_home = std::env::var("ZKSYNC_HOME").expect("ZKSYNC_HOME env variable not set.");
let zksync_home = std::env::var("ZKSYNC_HOME").unwrap_or_else(|_| ".".into());
let zksync_home = PathBuf::from(zksync_home);
SystemContractsRepo {
root: zksync_home.join("etc/system-contracts"),
Expand Down
Loading

0 comments on commit e806bf5

Please sign in to comment.