Skip to content

Commit

Permalink
chore(cmd/flags): add moniker as init flag (#309)
Browse files Browse the repository at this point in the history
adds moniker as an init flag to override default node naming

issue: none
  • Loading branch information
leeren authored Oct 25, 2024
1 parent 706aed4 commit 00cc88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
matrix:
platform:
[linux-amd64, linux-arm64, darwin-amd64, darwin-arm64]

steps:
- name: Checkout code
uses: actions/[email protected]
Expand Down
1 change: 1 addition & 0 deletions client/cmd/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func bindInitFlags(flags *pflag.FlagSet, cfg *InitConfig) {
flags.StringVar(&cfg.Seeds, "seeds", "", "Override the P2P seeds (comma-separated)")
flags.BoolVar(&cfg.SeedMode, "seed-mode", false, "Enable seed mode")
flags.StringVar(&cfg.PersistentPeers, "persistent-peers", "", "Override the persistent peers (comma-separated)")
flags.StringVar(&cfg.Moniker, "moniker", "", "Declare a custom moniker for your node")
}

func bindValidatorBaseFlags(cmd *cobra.Command, cfg *baseConfig) {
Expand Down

0 comments on commit 00cc88f

Please sign in to comment.