Skip to content

Commit

Permalink
fix(anvil): set auto-unlock an alias of auto-impersonate (#9256)
Browse files Browse the repository at this point in the history
* fix(anvil): alias --auto-unlock of auto-impersonate

Signed-off-by: jsvisa <[email protected]>

* feat(anvil): add more clear help messge for auto-impersonate

Signed-off-by: jsvisa <[email protected]>

---------

Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa authored Nov 5, 2024
1 parent 0c769c3 commit 57bb12e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/anvil/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,8 +561,9 @@ pub struct AnvilEvmArgs {
#[arg(long, visible_alias = "no-console-log")]
pub disable_console_log: bool,

/// Enable autoImpersonate on startup
#[arg(long, visible_alias = "auto-impersonate")]
/// Enables automatic impersonation on startup. This allows any transaction sender to be
/// simulated as different accounts, which is useful for testing contract behavior.
#[arg(long, visible_alias = "auto-unlock")]
pub auto_impersonate: bool,

/// Run an Optimism chain
Expand Down

0 comments on commit 57bb12e

Please sign in to comment.