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: cast send --create
#2871
feat: cast send --create
#2871
Conversation
|
Works like a charm! Thank you @gakonst |
| } // Checking if signer isn't the default value | ||
| // 00a329c0648769A73afAc7F9381E08FB43dBEA72. | ||
| } else if config.sender != | ||
| Address::from_str("00a329c0648769A73afAc7F9381E08FB43dBEA72").unwrap() |
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.
shall we move this to a constant ?
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.
Config::DEFAULT_SENDER
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.
yeah good idea,
can do this in a followup since this is used in a bunch of places
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
|
thank you sirs |
Previously,
cast sendwould not allow for an optionalto, which would preclude people from deploying raw bytecode. This addresses it in the same way thatcast estimate --createworks. Also refactors thecast sendlogic to a separate file.