From 4f97e4fe76e3c662bedd81b9aa6e7761020e6c0d Mon Sep 17 00:00:00 2001 From: katelyn martin Date: Wed, 24 Apr 2024 00:00:32 -0400 Subject: [PATCH] =?UTF-8?q?pcli:=20=F0=9F=91=BB=20remove=20disabled=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this has been commented out since 2022. let's just remove it. --- .../bin/pcli/src/command/query/validator.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/crates/bin/pcli/src/command/query/validator.rs b/crates/bin/pcli/src/command/query/validator.rs index 311cc2b87a..eff37f9129 100644 --- a/crates/bin/pcli/src/command/query/validator.rs +++ b/crates/bin/pcli/src/command/query/validator.rs @@ -157,25 +157,6 @@ impl ValidatorCmd { ValidatorCmd::Definition { file, identity_key } => { let identity_key = identity_key.parse::()?; - /* - use penumbra_proto::client::specific::ValidatorStatusRequest; - - let mut client = opt.specific_client().await?; - let status: ValidatorStatus = client - .validator_status(ValidatorStatusRequest { - chain_id: "".to_string(), // TODO: fill in - identity_key: Some(identity_key.into()), - }) - .await? - .into_inner() - .try_into()?; - - // why isn't the validator definition part of the status? - // why do we have all these different validator messages? - // do we need them? - status.state. - */ - // Intsead just download everything let mut client = StakeQueryServiceClient::new(app.pd_channel().await?);