Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(anvil): set auto-unlock an alias of auto-impersonate #9256

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

jsvisa
Copy link
Contributor

@jsvisa jsvisa commented Nov 4, 2024

Motivation

The alias of auto-impersonate is no diff of the original value:

$ anvil --help 
      --auto-impersonate
          Enable autoImpersonate on startup

          [aliases: auto-impersonate]

And as --unlocked has different meanings in cast(ref #5335 (comment))

So let's add auto-unlock as an alias of this argument.

Solution

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

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes sense, pending other opinions. Thank you!

Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense

@zerosnacks zerosnacks merged commit 57bb12e into foundry-rs:master Nov 5, 2024
21 checks passed
@jsvisa jsvisa deleted the anvil-unlocked branch November 5, 2024 08:52
leovct pushed a commit to leovct/foundry that referenced this pull request Nov 6, 2024
…9256)

* 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>
rplusq pushed a commit to rplusq/foundry that referenced this pull request Nov 29, 2024
…9256)

* 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>
@grandizzy grandizzy added T-bug Type: bug C-anvil Command: anvil labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil T-bug Type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants