-
Notifications
You must be signed in to change notification settings - Fork 365
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(cli): Add private-key to deposit to batcher #1724
base: staging
Are you sure you want to change the base?
Conversation
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.
Left a nit comment. Otherwise, LGTM!
batcher/aligned/src/main.rs
Outdated
let keystore_path = &submit_args.keystore_path; | ||
let private_key = &submit_args.private_key; | ||
let keystore_path = &submit_args.private_key_type.keystore_path; | ||
let private_key = &submit_args.private_key_type.private_key; | ||
|
||
if keystore_path.is_some() && private_key.is_some() { |
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.
We can remove this check
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.
missing added to cli docs
13f1ac7
to
9835802
Compare
9835802
to
1c4e019
Compare
batcher/aligned/src/main.rs
Outdated
} else { | ||
warn!("Missing keystore used for payment."); | ||
return Ok(()); | ||
warn!("Missing keystore used for payment. This proof will not be included if sent to Eth Mainnet"); |
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.
this param is required == true so this can't happen.
Also I don't think it makes much sense to add this
Add private-key to deposit to batcher
Description
Addresses the second item of #1568.
Type of change
Please delete options that are not relevant.
Checklist
testnet
, everything else tostaging