Skip to content

Commit ac91d5e

Browse files
committed
feat: upgrade ash_cli version to v0.4.3-rc.1
1 parent 626fcd8 commit ac91d5e

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ members = ["crates/ash_cli", "crates/ash_sdk"]
66
resolver = "2"
77

88
[workspace.package]
9-
version = "0.4.2"
9+
version = "0.4.3-rc.1"
1010
edition = "2021"
1111
authors = ["E36 Knots"]
1212
homepage = "https://ash.center"

crates/ash_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ categories.workspace = true
1515
keywords.workspace = true
1616

1717
[dependencies]
18-
ash_sdk = { path = "../ash_sdk", version = "0.4.2" }
18+
ash_sdk = { path = "../ash_sdk", version = "0.4.3-rc.1" }
1919
clap = { version = "4.0.32", features = ["derive", "env", "cargo", "string"] }
2020
colored = "2.0.0"
2121
exitcode = "1.1.2"

crates/ash_cli/src/avalanche/validator.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ enum ValidatorSubcommands {
8989
},
9090
/// List the Subnet's validators
9191
#[command(version = version_tx_cmd(false))]
92-
List {
93-
/// List pending validators
94-
#[arg(long, short = 'p')]
95-
pending: bool,
96-
},
92+
List,
9793
/// Show validator information
9894
#[command(version = version_tx_cmd(false))]
9995
Info {
@@ -106,7 +102,6 @@ enum ValidatorSubcommands {
106102
fn list(
107103
network_name: &str,
108104
subnet_id: &str,
109-
pending: bool,
110105
config: Option<&str>,
111106
json: bool,
112107
) -> Result<(), CliError> {
@@ -314,10 +309,9 @@ pub(crate) fn parse(
314309
ValidatorSubcommands::Info { id } => {
315310
info(&validator.network, &validator.subnet_id, &id, config, json)
316311
}
317-
ValidatorSubcommands::List { pending } => list(
312+
ValidatorSubcommands::List => list(
318313
&validator.network,
319314
&validator.subnet_id,
320-
pending,
321315
config,
322316
json,
323317
),

0 commit comments

Comments
 (0)