diff --git a/tools/Cargo.lock b/tools/Cargo.lock index 86f9ab5bc..da25711f1 100644 --- a/tools/Cargo.lock +++ b/tools/Cargo.lock @@ -1175,7 +1175,7 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto" version = "0.1.0" -source = "git+https://github.com/matter-labs/era-boojum-validator-cli?rev=688798dc9b11e2c76c7e05b93f1ec7ff9d176a88#688798dc9b11e2c76c7e05b93f1ec7ff9d176a88" +source = "git+https://github.com/matter-labs/era-boojum-validator-cli?branch=main#1661eef7b235fc10e92208fb738c9e261f58c653" dependencies = [ "anyhow", "bincode", @@ -1190,7 +1190,7 @@ dependencies = [ "reqwest", "serde", "serde_json", - "sha3 0.10.8", + "sha3 0.9.1", "tokio", "zksync_types", ] diff --git a/tools/Cargo.toml b/tools/Cargo.toml index f2fa188db..b32b52bdb 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -zksync_crypto = { git = "https://github.com/matter-labs/era-boojum-validator-cli", rev = "688798dc9b11e2c76c7e05b93f1ec7ff9d176a88", package = "crypto" } +zksync_crypto = { git = "https://github.com/matter-labs/era-boojum-validator-cli", branch = "main", package = "crypto" } circuit_definitions = {git = "https://github.com/matter-labs/era-zkevm_test_harness.git", branch="v1.5.0"} serde_derive = "1.0" diff --git a/tools/src/main.rs b/tools/src/main.rs index a5f3919f3..746373fe4 100644 --- a/tools/src/main.rs +++ b/tools/src/main.rs @@ -126,7 +126,8 @@ fn main() -> Result<(), Box> { let verifier_contract_template = fs::read_to_string("data/verifier_contract_template.txt")?; - let verification_key = fs::read_to_string(opt.input_path).unwrap(); + let verification_key = fs::read_to_string(&opt.input_path) + .expect(&format!("Unable to read from {}", &opt.input_path)); let verification_key: VerificationKey = serde_json::from_str(&verification_key).unwrap();