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 <delweng@gmail.com>

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

Signed-off-by: jsvisa <delweng@gmail.com>

---------

Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa authored and leovct committed Nov 6, 2024
1 parent a7811ed commit f06c626
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 f06c626

Please sign in to comment.