Skip to content

Commit

Permalink
pcli: 👻 remove disabled code
Browse files Browse the repository at this point in the history
this has been commented out since 2022. let's just remove it.
  • Loading branch information
cratelyn committed Apr 29, 2024
1 parent 098d9cc commit 4f97e4f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions crates/bin/pcli/src/command/query/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,25 +157,6 @@ impl ValidatorCmd {
ValidatorCmd::Definition { file, identity_key } => {
let identity_key = identity_key.parse::<IdentityKey>()?;

/*
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?);

Expand Down

0 comments on commit 4f97e4f

Please sign in to comment.