Skip to content

Commit

Permalink
make default accounts param to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l committed Jun 7, 2024
1 parent 5c41213 commit 0f988c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/command/deployments/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl CreateArgs {
Some(seed) => seed.clone(),
None => rand::random::<u64>().to_string(),
}),
accounts: config.accounts,
accounts: Some(config.accounts),
disable_fee: config.disable_fee,
gas_price: config.gas_price,
invoke_max_steps: config.invoke_max_steps,
Expand Down
4 changes: 2 additions & 2 deletions src/command/deployments/services/katana.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ pub struct KatanaCreateArgs {
#[arg(help = "Seed.")]
pub seed: Option<String>,

#[arg(long, short, value_name = "accounts")]
#[arg(long, short, value_name = "accounts", default_value = "10")]
#[arg(help = "Accounts.")]
pub accounts: Option<i64>,
pub accounts: i64,

#[arg(long, value_name = "invoke_max_steps")]
#[arg(help = "Invoke Max Steps.")]
Expand Down

0 comments on commit 0f988c0

Please sign in to comment.