-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: add inputs argument #12
Conversation
If you're happy with approach, I can add updated documentation. |
cli/src/main.rs
Outdated
#[arg(short, long)] | ||
inputs: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I liked your suggestion of calling this params
to print out the createProxyWithNonce
parameters.
The issue with it not working with the existing prefix
flag is that #[arg(short)]
defaults to using the first letter of there field name. You can fix that by specifying something else, for example:
#[arg(short, long)] | |
inputs: bool, | |
#[arg(short = 'P', long)] | |
params: bool, |
This way, -P
is used to print parameters, and -p
is used for setting a prefix.
Changes and approach looks good! Thanks for taking care of this :) Just a comment around the parameter name. |
Hey @nlordell Changed as advised. Updated the docs, included a note about Etherscan. There are two more commits:
I realise now these should probably be different pull requests. Happy either way as this is your repo :) |
|
||
Fill the fields in function `3. createProxyWithNonce` using the generated outputs. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: extra newline
100% agree.
Oh no! Then yes, you should probably roll back to using v1.3.0 Safes for now. I also just double checked ant the wallet interface creates a v1.3.0 Safe as well, so it looks like v1.4.1 is not super well supported yet. Thanks for bringing this up! |
@kennedybaird - I rolled back the CLI to use Safe v1.3.0 because of compatibility concerns with the Safe infrastructure and Wallet interface. Thanks a bunch for bringing this up! |
That's great, yeah, I ended up down a bit of a rabbit hole before figuring
that out.
Good work!
…On Sun, Nov 12, 2023, 7:53 AM Nicholas Rodrigues Lordello < ***@***.***> wrote:
@kennedybaird <https://github.com/kennedybaird> - I rolled back the CLI
to use Safe v1.3.0 because of compatibility concerns with the Safe
infrastructure and Wallet interface. Thanks a bunch for bringing this up!
—
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE5DZE3GSMOUGJOWOSQTDGTYD7CSVAVCNFSM6AAAAAA7FGSBOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHA4TCMBQGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This may help @nlordell.
Originally I thought
params
would be a good arg, but it wouldn't accept it due toprefix
.