Skip to content

Commit

Permalink
Remove seed and chain_id options for katana deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev committed May 23, 2024
1 parent d71482e commit 6829c05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
5 changes: 1 addition & 4 deletions src/command/deployments/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ impl CreateArgs {
block_time: config.block_time,
fork_rpc_url: config.fork_rpc_url.clone(),
fork_block_number: config.fork_block_number,
seed: Some(match &config.seed {
Some(seed) => seed.clone(),
None => rand::random::<u64>().to_string(),
}),
seed: None,
accounts: config.accounts,
disable_fee: config.disable_fee,
gas_price: config.gas_price,
Expand Down
8 changes: 0 additions & 8 deletions src/command/deployments/services/katana.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ pub struct KatanaCreateArgs {
#[arg(help = "Fork block number.")]
pub fork_block_number: Option<u64>,

#[arg(long, short, value_name = "seed")]
#[arg(help = "Seed.")]
pub seed: Option<String>,

#[arg(long, short, value_name = "accounts")]
#[arg(help = "Accounts.")]
pub accounts: Option<i64>,
Expand All @@ -47,10 +43,6 @@ pub struct KatanaCreateArgs {
#[arg(help = "Gas Price.")]
pub gas_price: Option<u64>,

#[arg(long, short, value_name = "chain_id")]
#[arg(help = "Sequencer chain_id to use.")]
pub chain_id: Option<String>,

#[arg(long, value_name = "PATH")]
#[arg(help = "Path to a Katana genesis file.")]
#[arg(value_parser = genesis_value_parser)]
Expand Down

0 comments on commit 6829c05

Please sign in to comment.