You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cluster manifest files are in binary (protobuf) format so is not human readable. But often times, we want to check the contents of a cluster manifest. For example, we may want to check if the manifest contains our new validators after running the add-validators-solo command.
We should provide a way for our users to easily check contents of a cluster manifest file.
🛠️ Proposed solution
Add a new command charon alpha view-cluster-manifest which:
loads a manifest file from path specified by the --manifest-file flag
reads the cluster data from the file
prints the cluster data in a human-readable format (json)
Moved some manifest load/store functions to `manifest_tools.go` and generalized them, so we can reuse code across multiple commands.
Closes#2381
category: feature
ticket: #2381
🎯 Problem to be solved
The cluster manifest files are in binary (protobuf) format so is not human readable. But often times, we want to check the contents of a cluster manifest. For example, we may want to check if the manifest contains our new validators after running the
add-validators-solo
command.We should provide a way for our users to easily check contents of a cluster manifest file.
🛠️ Proposed solution
Add a new command
charon alpha view-cluster-manifest
which:--manifest-file
flagNote that we can probably use the protojson package for this.
🧪 Tests
The text was updated successfully, but these errors were encountered: