diff --git a/README.md b/README.md index 6f953b8..d744568 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,6 @@ cargo run -- --batch 109939 --network mainnet --l1-rpc https://rpc.ankr.com/eth --batch - The L1 batch number you want to verify the generated proof --network - Along with batch number, defines if you want to verify a proof for Era testnet or mainnet. It defaults to mainnet. Accepts "mainnet" or "testnet" --l1-rpc - The RPC url required to pull data from L1. ---update-verification-key - Specifes if the verification key should be updated from [github](https://github.com/matter-labs/era-contracts/blob/main/tools/data/scheduler_key.json). --json - Flag to specify if the output should be in json. Note that all the usual std out prints are silenced. ``` diff --git a/src/main.rs b/src/main.rs index 8135715..5cac6ed 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,9 +56,6 @@ struct Cli { #[arg(long)] /// RPC endpoint to use to fetch L1 information l1_rpc: Option, - /// Bool to request updating verification key - #[arg(long)] - update_verification_key: Option, /// Flag to print output as json #[arg(long)] json: bool, diff --git a/src/utils.rs b/src/utils.rs index aad2e22..fe9751a 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -7,6 +7,7 @@ pub async fn check_verification_key(protocol_version: String) { let file_exists = file.exists(); if !file_exists { + // If the key for the latest protocol version is nout available in this repo yet, you can always find it at https://github.com/matter-labs/era-contracts/blob/main/tools/data/scheduler_key.json eprintln!("Verification key for protocol version {} is missing. Please add it to the keys folder.", protocol_version); std::process::exit(1) }