diff --git a/ignite/cmd/bubblemodel/testnet_multi_node.go b/ignite/cmd/bubblemodel/testnet_multi_node.go index cb843c7573..5d6f9a74aa 100644 --- a/ignite/cmd/bubblemodel/testnet_multi_node.go +++ b/ignite/cmd/bubblemodel/testnet_multi_node.go @@ -236,7 +236,7 @@ func (m MultiNode) View() string { grayStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("8")) // gray purpleStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("5")) // purple statusBarStyle := lipgloss.NewStyle().Background(lipgloss.Color("0")) // Status bar style - blueStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("45")).Background(lipgloss.Color("0")) //blue + blueStyle := lipgloss.NewStyle().Foreground(lipgloss.Color("45")).Background(lipgloss.Color("0")) // blue statusBar := blueStyle.Render("Press q to quit | Press 1-4 to ") + statusBarStyle.Render(runningStyle.Render("start")) + blueStyle.Render("/") + statusBarStyle.Render(stoppedStyle.Render("stop")) + blueStyle.Render(" corresponding node") output := statusBar + "\n\n" diff --git a/ignite/pkg/chaincmd/in-place-testnet.go b/ignite/pkg/chaincmd/in-place-testnet.go index a28b4c9edc..473850f0cd 100644 --- a/ignite/pkg/chaincmd/in-place-testnet.go +++ b/ignite/pkg/chaincmd/in-place-testnet.go @@ -46,11 +46,11 @@ func (c ChainCmd) TestnetInPlaceCommand(newChainID, newOperatorAddress string, o return c.daemonCommand(command) } -// Options for testnet multi node +// Options for testnet multi node. type MultiNodeOption func([]string) []string // MultiNodeWithChainID returns a MultiNodeOption that appends the chainID option -// to the provided slice of strings +// to the provided slice of strings. func MultiNodeWithChainID(chainID string) MultiNodeOption { return func(s []string) []string { if len(chainID) > 0 { @@ -61,7 +61,7 @@ func MultiNodeWithChainID(chainID string) MultiNodeOption { } // MultiNodeWithDirOutput returns a MultiNodeOption that appends the output directory option -// to the provided slice of strings +// to the provided slice of strings. func MultiNodeWithDirOutput(dirOutput string) MultiNodeOption { return func(s []string) []string { if len(dirOutput) > 0 { @@ -72,7 +72,7 @@ func MultiNodeWithDirOutput(dirOutput string) MultiNodeOption { } // MultiNodeWithNumValidator returns a MultiNodeOption that appends the number of validators option -// to the provided slice of strings +// to the provided slice of strings. func MultiNodeWithNumValidator(numVal string) MultiNodeOption { return func(s []string) []string { if len(numVal) > 0 { @@ -83,7 +83,7 @@ func MultiNodeWithNumValidator(numVal string) MultiNodeOption { } // MultiNodeWithValidatorsStakeAmount returns a MultiNodeOption that appends the stake amounts option -// to the provided slice of strings +// to the provided slice of strings. func MultiNodeWithValidatorsStakeAmount(satkeAmounts string) MultiNodeOption { return func(s []string) []string { if len(satkeAmounts) > 0 { @@ -94,7 +94,7 @@ func MultiNodeWithValidatorsStakeAmount(satkeAmounts string) MultiNodeOption { } // MultiNodeDirPrefix returns a MultiNodeOption that appends the node directory prefix option -// to the provided slice of strings +// to the provided slice of strings. func MultiNodeDirPrefix(nodeDirPrefix string) MultiNodeOption { return func(s []string) []string { if len(nodeDirPrefix) > 0 { diff --git a/ignite/pkg/chaincmd/runner/chain.go b/ignite/pkg/chaincmd/runner/chain.go index 70c4842526..4e341bf817 100644 --- a/ignite/pkg/chaincmd/runner/chain.go +++ b/ignite/pkg/chaincmd/runner/chain.go @@ -57,7 +57,7 @@ func (r Runner) InPlace(ctx context.Context, newChainID, newOperatorAddress stri ) } -// Initialize config directories & files for a multi-validator testnet locally +// Initialize config directories & files for a multi-validator testnet locally. func (r Runner) MultiNode(ctx context.Context, options ...chaincmd.MultiNodeOption) error { runOptions := runOptions{ stdout: os.Stdout,