From aa32b7798a35a0f78fe93964e5c1db2d0dd00bfc Mon Sep 17 00:00:00 2001 From: hu55a1n1 Date: Fri, 23 Feb 2024 14:26:43 -0800 Subject: [PATCH] Remove target height from config --- enclaves/quartz/src/cli.rs | 4 ---- enclaves/quartz/src/main.rs | 1 - 2 files changed, 5 deletions(-) diff --git a/enclaves/quartz/src/cli.rs b/enclaves/quartz/src/cli.rs index 6868973..de87ea8 100644 --- a/enclaves/quartz/src/cli.rs +++ b/enclaves/quartz/src/cli.rs @@ -37,10 +37,6 @@ pub struct Cli { #[clap(long)] pub chain_id: String, - /// Height of the header to verify - #[clap(long)] - pub target_height: Height, - /// Height of the trusted header (AKA root-of-trust) #[clap(long)] pub trusted_height: Height, diff --git a/enclaves/quartz/src/main.rs b/enclaves/quartz/src/main.rs index 5441d91..89c8839 100644 --- a/enclaves/quartz/src/main.rs +++ b/enclaves/quartz/src/main.rs @@ -33,7 +33,6 @@ async fn main() -> Result<(), Box> { let light_client_opts = LightClientOpts::new( args.chain_id, - args.target_height, args.trusted_height, args.trusted_hash, args.trust_threshold,