diff --git a/Cargo.lock b/Cargo.lock index 43d0928..dd33b14 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -175,7 +175,7 @@ dependencies = [ [[package]] name = "ash_cli" -version = "0.4.2" +version = "0.4.3-rc.1" dependencies = [ "ash_sdk", "async-std", @@ -204,7 +204,7 @@ dependencies = [ [[package]] name = "ash_sdk" -version = "0.4.2" +version = "0.4.3-rc.1" dependencies = [ "ash_api", "async-std", diff --git a/Cargo.toml b/Cargo.toml index 3c5c08d..6730c0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = ["crates/ash_cli", "crates/ash_sdk"] resolver = "2" [workspace.package] -version = "0.4.2" +version = "0.4.3-rc.1" edition = "2021" authors = ["E36 Knots"] homepage = "https://ash.center" diff --git a/crates/ash_cli/Cargo.toml b/crates/ash_cli/Cargo.toml index 14bfc20..577495c 100644 --- a/crates/ash_cli/Cargo.toml +++ b/crates/ash_cli/Cargo.toml @@ -15,7 +15,7 @@ categories.workspace = true keywords.workspace = true [dependencies] -ash_sdk = { path = "../ash_sdk", version = "0.4.2" } +ash_sdk = { path = "../ash_sdk", version = "0.4.3-rc.1" } clap = { version = "4.0.32", features = ["derive", "env", "cargo", "string"] } colored = "2.0.0" exitcode = "1.1.2" diff --git a/crates/ash_cli/src/avalanche/validator.rs b/crates/ash_cli/src/avalanche/validator.rs index fca8d87..ccb736b 100644 --- a/crates/ash_cli/src/avalanche/validator.rs +++ b/crates/ash_cli/src/avalanche/validator.rs @@ -89,11 +89,7 @@ enum ValidatorSubcommands { }, /// List the Subnet's validators #[command(version = version_tx_cmd(false))] - List { - /// List pending validators - #[arg(long, short = 'p')] - pending: bool, - }, + List, /// Show validator information #[command(version = version_tx_cmd(false))] Info { @@ -106,7 +102,6 @@ enum ValidatorSubcommands { fn list( network_name: &str, subnet_id: &str, - pending: bool, config: Option<&str>, json: bool, ) -> Result<(), CliError> { @@ -314,10 +309,9 @@ pub(crate) fn parse( ValidatorSubcommands::Info { id } => { info(&validator.network, &validator.subnet_id, &id, config, json) } - ValidatorSubcommands::List { pending } => list( + ValidatorSubcommands::List => list( &validator.network, &validator.subnet_id, - pending, config, json, ),