-
Notifications
You must be signed in to change notification settings - Fork 8
edit commands #76
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
edit commands #76
Conversation
8c94ae4 to
802953a
Compare
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 got this many suggestions and the PR through a review, better than nothing. happy to get this all merged and into main before a 1.8
I aim to merge this #84 into this PR before into main
|
|
||
| # Or, if you prefer running it in Docker | ||
| # (replace 'latest' with the most recent version if needed: https://hub.docker.com/r/obolnetwork/charon/tags) | ||
| docker run --rm -v "$(pwd):/opt/charon" obolnetwork/charon:latest alpha edit add-operators --new-operator-enrs=enr:-JG4QH... --private-key-file=/opt/charon/.charon/charon-enr-private-key --lock-file=/opt/charon/.charon/cluster-lock.json --validator-keys-dir=/opt/charon/.charon/validator_keys --output-dir=/opt/charon/output |
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.
| docker run --rm -v "$(pwd):/opt/charon" obolnetwork/charon:latest alpha edit add-operators --new-operator-enrs=enr:-JG4QH... --private-key-file=/opt/charon/.charon/charon-enr-private-key --lock-file=/opt/charon/.charon/cluster-lock.json --validator-keys-dir=/opt/charon/.charon/validator_keys --output-dir=/opt/charon/output | |
| docker run --rm -v "$(pwd):/opt/charon" -w "/opt/charon" obolnetwork/charon:latest alpha edit add-operators --new-operator-enrs=enr:-JG4QH... --output-dir=/opt/charon/output |
would something like this work? (haven't tested yet)
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.
Yes, this works!
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.
Updated for all edit commands
|
|
||
| ### For New Operators | ||
|
|
||
| New operators being added should run the same command but only need to provide their private key file and the cluster lock file (they won't have validator keys yet): |
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.
| New operators being added should run the same command but only need to provide their private key file and the cluster lock file (they won't have validator keys yet): | |
| New operators being added should run the same command but only need to provide their private key file and the cluster lock file (they won't have validator keys yet): |
How would you feel about permitting https:// for the lock file flag? allowing the new operator to not have to juggle a file into the right location themselves? [Nice to have but potentially good to have in scope of an audit :) ]
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.
Good idea, logged: ObolNetwork/charon#4166
The new
editcommands documentation.