Skip to content

Commit

Permalink
fix: allow fork related cli args without forkurl (#7432)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Mar 18, 2024
1 parent 125988c commit 0026488
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions crates/common/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,14 @@ pub struct EvmArgs {
/// default value: 330
///
/// See also --fork-url and https://docs.alchemy.com/reference/compute-units#what-are-cups-compute-units-per-second
#[arg(
long,
requires = "fork_url",
alias = "cups",
value_name = "CUPS",
help_heading = "Fork config"
)]
#[arg(long, alias = "cups", value_name = "CUPS", help_heading = "Fork config")]
pub compute_units_per_second: Option<u64>,

/// Disables rate limiting for this node's provider.
///
/// See also --fork-url and https://docs.alchemy.com/reference/compute-units#what-are-cups-compute-units-per-second
#[arg(
long,
requires = "fork_url",
value_name = "NO_RATE_LIMITS",
help_heading = "Fork config",
visible_alias = "no-rate-limit"
Expand Down

0 comments on commit 0026488

Please sign in to comment.