Skip to content

Commit

Permalink
feat: upgrade ash_cli version to v0.4.3-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Al3xGROS committed Apr 12, 2024
1 parent 626fcd8 commit ac91d5e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/ash_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 2 additions & 8 deletions crates/ash_cli/src/avalanche/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -106,7 +102,6 @@ enum ValidatorSubcommands {
fn list(
network_name: &str,
subnet_id: &str,
pending: bool,
config: Option<&str>,
json: bool,
) -> Result<(), CliError> {
Expand Down Expand Up @@ -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,
),
Expand Down

0 comments on commit ac91d5e

Please sign in to comment.