Skip to content

Commit 120ae00

Browse files
committed
refactor: verify command rename vk for vk-hash
1 parent 17e2a6b commit 120ae00

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ verify_aggregated_proof_sp1:
284284
--rpc-url $(RPC_URL) \
285285
--from-block $(FROM_BLOCK) \
286286
--proving-system SP1 \
287-
--vk ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.vk \
288-
--public-input ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub
287+
--vk-hash ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.vk \
288+
--public-inputs ../../scripts/test_files/sp1/sp1_fibonacci_5_0_0.pub
289289

290290
proof_aggregator_install: ## Install the aggregation mode with proving enabled
291291
cargo install --path aggregation_mode --features prove,gpu --bin proof_aggregator_gpu --locked

aggregation_mode/cli/src/commands/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub struct Cli {
1616
pub enum Command {
1717
#[command(subcommand)]
1818
Submit(SubmitCommand),
19+
/// Check whether a proof has been verified on AlignedProofAggregationService contract
1920
#[command(name = "verify-on-chain")]
2021
VerifyOnChain(VerifyOnChainArgs),
2122
/// Send 1 ether to the aggregation mode payment service

aggregation_mode/cli/src/commands/verify.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ pub struct VerifyOnChainArgs {
2222
from_block: Option<u64>,
2323
#[arg(long = "proving-system")]
2424
proving_system: ProvingSystemArg,
25-
#[arg(name = "Program verification key hash", long = "vk", required = true)]
25+
#[arg(name = "Program verification key hash", long = "vk-hash", required = true)]
2626
program_vk: PathBuf,
27-
#[arg(name = "Public input file name", long = "public-input")]
27+
#[arg(name = "Public input file name", long = "public-inputs")]
2828
pub_input_file_name: Option<PathBuf>,
2929
}
3030

0 commit comments

Comments
 (0)