Skip to content

Commit 8f12937

Browse files
authored
Changed development flag to be unhidden (Consensys#8094)
Unhiding local slashing protection synchronized flag, leaving the default the same. This will be added to documentation. Signed-off-by: Paul Harris <[email protected]>
1 parent 1fadf9b commit 8f12937

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ the [releases page](https://github.com/Consensys/teku/releases).
1010
## Unreleased Changes
1111

1212
### Breaking Changes
13+
- The development command line argument `--Xvalidator-is-local-slashing-protection-synchronized-enabled` has become a supported and documented argument `--validator-is-local-slashing-protection-synchronized-enabled`.
1314

1415
### Additions and Improvements
1516
- Introduced [Validator Slashing Prevention feature](https://docs.teku.consensys.io/how-to/prevent-slashing/detect-slashing).

Diff for: teku/src/main/java/tech/pegasys/teku/cli/options/ValidatorOptions.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,11 @@ public class ValidatorOptions {
143143
ValidatorConfig.DEFAULT_EXIT_WHEN_NO_VALIDATOR_KEYS_ENABLED;
144144

145145
@Option(
146-
names = {"--Xvalidator-is-local-slashing-protection-synchronized-enabled"},
146+
names = {"--validator-is-local-slashing-protection-synchronized-enabled"},
147147
paramLabel = "<BOOLEAN>",
148148
description = "Restrict local signing to a single operation at a time.",
149149
showDefaultValue = CommandLine.Help.Visibility.ALWAYS,
150150
arity = "0..1",
151-
hidden = true,
152151
fallbackValue = "true")
153152
private boolean isLocalSlashingProtectionSynchronizedEnabled =
154153
DEFAULT_VALIDATOR_IS_LOCAL_SLASHING_PROTECTION_SYNCHRONIZED_ENABLED;

0 commit comments

Comments
 (0)