-
Notifications
You must be signed in to change notification settings - Fork 301
Use debug instead of hidden in debug conf options
#7803
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
base: unstable
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -242,7 +242,7 @@ type | |
| name: "subscribe-all-subnets" .}: bool | ||
|
|
||
| debugPeerdasSupernode* {. | ||
| hidden | ||
| debug | ||
| defaultValue: false, | ||
| name: "debug-peerdas-supernode" .}: bool | ||
|
|
||
|
|
@@ -397,7 +397,7 @@ type | |
| name: "verify-finalization" .}: bool | ||
|
|
||
| stopAtEpoch* {. | ||
| hidden | ||
| debug | ||
| desc: "The wall-time epoch at which to exit the program. (for testing purposes)" | ||
| defaultValue: 0 | ||
| name: "debug-stop-at-epoch" .}: uint64 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a hidden |
||
|
|
@@ -557,7 +557,7 @@ type | |
| name: "light-client-data-max-periods" .}: Option[uint64] | ||
|
|
||
| longRangeSync* {. | ||
| hidden | ||
| debug | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This isn't really a "debugging" option, it's a feature that we never ended up enforcing, for various reasons. etc etc etc All of these have similar stories. |
||
| desc: "Enable long-range syncing (genesis sync)", | ||
| defaultValue: LongRangeSyncMode.Lenient, | ||
| name: "debug-long-range-sync".}: LongRangeSyncMode | ||
|
|
@@ -601,7 +601,7 @@ type | |
| # `--debug-invalidate-block-root` flag present until finality has | ||
| # advanced beyond the problematic chain segment | ||
| invalidBlockRoots* {. | ||
| hidden | ||
| debug | ||
| desc: "List of beacon block roots that, if the EL responds with SYNCING/ACCEPTED, are treated as if their execution payload was INVALID" | ||
| name: "debug-invalidate-block-root" .}: seq[Eth2Digest] | ||
|
|
||
|
|
@@ -685,14 +685,14 @@ type | |
| name: "history".}: HistoryMode | ||
|
|
||
| trustedSetupFile* {. | ||
| hidden | ||
| debug | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is/was something to help Ethpandaops run their devnets. That's ... I think? the only use it ever got, and better that it would not be visible at all.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also regarding this one, I'm not sure it's been used since the Dencun devnets, or has any remaining usecases now that the KZG setup is confirmed/set. For theoretical-other-KZG setups, they'd be coming with other changes realistically anyway. A parameter to tweak this specifically is likely obsolete even for testing. |
||
| desc: "Alternative EIP-4844 trusted setup file" | ||
| defaultValue: none(string) | ||
| defaultValueDesc: "Baked in trusted setup" | ||
| name: "debug-trusted-setup-file" .}: Option[string] | ||
|
|
||
| bandwidthEstimate* {. | ||
| hidden | ||
| debug | ||
| desc: "Bandwidth estimate for the node (bits per second)" | ||
| name: "debug-bandwidth-estimate" .}: Option[Natural] | ||
|
|
||
|
|
||
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 one is going away soon anyway, as announced in a recent release notes. It's
--debugand that's what--debug-foooptions do.So definitely not something to add visibility to now.
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.
Also this one has been replaced by a supported option, anyway. Turned out there was nontrivial demand due to the blob use cases. So especially useless as a "debug" option.
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.
again, the key is to set expectations and document the change: 'In release XYZ, --debug-frob has migrated to --frob - the old name will be removed in the 25.x release'
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.
See elsewhere. The point is for this PR that it's a useless thing to expose.