Skip to content

Commit

Permalink
fix(fork-network): allow hyphen values for chain_id_suffix (near#10101)
Browse files Browse the repository at this point in the history
Fix for near#10034

`chain_id_suffix` can now start with however many hyphens we want
  • Loading branch information
posvyatokum authored Nov 6, 2023
1 parent e8c1dd8 commit c0e44b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/fork-network/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ struct SetValidatorsCmd {
pub validators: PathBuf,
#[arg(short, long, default_value = "1000")]
pub epoch_length: NumBlocks,
#[arg(long, default_value = "-fork")]
#[arg(long, default_value = "-fork", allow_hyphen_values = true)]
pub chain_id_suffix: String,
}

Expand Down

0 comments on commit c0e44b9

Please sign in to comment.