Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
adlrocha committed Mar 29, 2023
1 parent 4dac9bb commit 2ab43a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/cli/commands/manager/list_checkpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl CommandLineHandler for ListCheckpoints {
let json_rpc_client = JsonRpcClientImpl::new(url, None);

let params = ListCheckpointsParams {
subnet_id: arguments.subnet_id.clone(),
subnet_id: arguments.subnet.clone(),
from_epoch: arguments.from_epoch,
to_epoch: arguments.to_epoch,
};
Expand Down Expand Up @@ -62,7 +62,7 @@ pub(crate) struct ListCheckpointsArgs {
#[arg(long, short, help = "The JSON RPC server url for ipc agent")]
pub ipc_agent_url: Option<String>,
#[arg(long, short, help = "The subnet id of the checkpointing subnet")]
pub subnet_id: String,
pub subnet: String,
#[arg(long, short, help = "Include checkpoints from this epoch")]
pub from_epoch: ChainEpoch,
#[arg(long, short, help = "Include checkpoints up to this epoch")]
Expand Down
4 changes: 2 additions & 2 deletions src/cli/commands/manager/list_subnets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl CommandLineHandler for ListSubnets {

let params = ListSubnetsParams {
gateway_address: arguments.gateway_address.clone(),
subnet_id: arguments.subnet_id.clone(),
subnet_id: arguments.subnet.clone(),
};

let subnets = json_rpc_client
Expand All @@ -53,7 +53,7 @@ pub(crate) struct ListSubnetsArgs {
#[arg(long, short, help = "The gateway address to query subnets")]
pub gateway_address: String,
#[arg(long, short, help = "The subnet id to query child subnets")]
pub subnet_id: String,
pub subnet: String,
}

/// A simplified wrapper for Subnet Info response. The SubnetInfo struct is deserialized differently
Expand Down

0 comments on commit 2ab43a3

Please sign in to comment.