-
Notifications
You must be signed in to change notification settings - Fork 369
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
Make validator-exec work for different node types #2145
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.
👍
const instanceNames = [] | ||
if (argv.only === null) { | ||
const nodeCount = getNodeCount(argv.nodeType) | ||
console.log(`Node Count: ${nodeCount}`) |
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.
lint doesn't like console.log
instanceNames.push(instanceName) | ||
} | ||
} else { | ||
console.log(`Only Index: ${argv.only}`) |
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.
ditto
Codecov Report
@@ Coverage Diff @@
## master #2145 +/- ##
========================================
Coverage 74.77% 74.77%
========================================
Files 280 280
Lines 7826 7826
Branches 690 974 +284
========================================
Hits 5852 5852
Misses 1858 1858
Partials 116 116
Continue to review full report at Codecov.
|
Description
Changes the name of the celotool cmd
validator-exec
tovm-exec
, and extends the command to work on any node type (bootnode/tx-node/validator/proxy)Tested
Ran some cmds on every node in baklavastaging
Other changes
n/a
Related issues
n/a
Backwards compatibility
Apart from the old command not existing anymore, yes