From 4ba924153f4708076cb572ece97150d00983bfda Mon Sep 17 00:00:00 2001 From: peg Date: Mon, 16 Dec 2024 08:28:08 +0100 Subject: [PATCH] Update test-cli --- crates/test-cli/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/crates/test-cli/src/lib.rs b/crates/test-cli/src/lib.rs index 8b76fe5f8..818a1e777 100644 --- a/crates/test-cli/src/lib.rs +++ b/crates/test-cli/src/lib.rs @@ -165,8 +165,6 @@ enum CliCommand { new_tss_account: String, /// New x25519 public key new_x25519_public_key: String, - /// The new Provisioning Certification Key (PCK) certificate chain to be used for the TSS. - new_pck_certificate_chain: Vec, /// The Intel TDX quote used to prove that this TSS is running on TDX hardware. /// /// The quote format is specified in: @@ -522,7 +520,6 @@ pub async fn run_command( CliCommand::ChangeThresholdAccounts { new_tss_account, new_x25519_public_key, - new_pck_certificate_chain, quote, mnemonic_option, } => { @@ -534,15 +531,12 @@ pub async fn run_command( let user_keypair = ::from_string(&mnemonic, None)?; cli.log(format!("User account for current call: {}", user_keypair.public())); - let new_pck_certificate_chain = - new_pck_certificate_chain.iter().cloned().map(|i| i.into()).collect::<_>(); let result_event = change_threshold_accounts( &api, &rpc, user_keypair, new_tss_account, new_x25519_public_key, - new_pck_certificate_chain, quote.into(), ) .await?;