Skip to content

Commit

Permalink
chore: add anvil --block-gas-limit alias (foundry-rs#4694)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Apr 4, 2023
1 parent 0e7ff88 commit 7bfe5bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion anvil/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,12 @@ pub struct AnvilEvmArgs {
pub no_storage_caching: bool,

/// The block gas limit.
#[clap(long, value_name = "GAS_LIMIT", help_heading = "Environment config")]
#[clap(
long,
value_name = "GAS_LIMIT",
alias = "block-gas-limit",
help_heading = "Environment config"
)]
pub gas_limit: Option<u64>,

/// Disable the `call.gas_limit <= block.gas_limit` constraint.
Expand Down

0 comments on commit 7bfe5bf

Please sign in to comment.