-
Notifications
You must be signed in to change notification settings - Fork 59
Improve sv network reset docs #2485
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
Conversation
[static] Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
| jq '.dso_rules.contract.payload.svs.[] | [.[1].name, .[1].svRewardWeight]' backup.json > weights_backup.json | ||
| jq '.dso_rules.contract.payload.svs.[] | [.[1].name, .[1].svRewardWeight]' current_state.json > weights_current.json | ||
| diff -C2 weights_backup.json weights_current.json |
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 is more verbose than the previous oneliner, but is also compatible with the fish shell, which doesn't have process substitution (the <() thing).
| The reset should also preserve the amulet rules modulo cryptographic keys, i.e., the following diff should | ||
| only show changes to the dso and synchronizer namespaces: |
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.
Please confirm
[static] Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
isegall-da
left a comment
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.
LGTM, thanks. I'll refer the sv operators to this as well, in case anybody else has further comments before we merge.
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
[static] Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
[static] Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
43acf90 to
2b450f2
Compare
Fixes #2060
Includes suggestions from the github issue and internal slack discussions.