Skip to content
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

op-node: Unhide syncmode flag #9611

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
op-node: Unhide syncmode flag
  • Loading branch information
trianglesphere committed Feb 20, 2024
commit 994cdb43dd415bd799f761cf54ca3cf2ac3de7b5
3 changes: 1 addition & 2 deletions op-node/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,12 @@ var (
}
SyncModeFlag = &cli.GenericFlag{
Name: "syncmode",
Usage: fmt.Sprintf("IN DEVELOPMENT: Options are: %s", openum.EnumString(sync.ModeStrings)),
Usage: fmt.Sprintf("Blockchain sync mode (options: %s)", openum.EnumString(sync.ModeStrings)),
EnvVars: prefixEnvVars("SYNCMODE"),
Value: func() *sync.Mode {
out := sync.CLSync
return &out
}(),
Hidden: true,
}
RPCListenAddr = &cli.StringFlag{
Name: "rpc.addr",
Expand Down
Loading