From 14012cade7a10e10e067d9f3f336db95777ba8cc Mon Sep 17 00:00:00 2001 From: toofooboo Date: Fri, 20 Dec 2024 12:05:46 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: toofooboo --- tests/e2e/actions.go | 2 +- tests/e2e/commands.go | 2 +- tests/e2e/v5/commands.go | 2 +- tests/integration/setup.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/actions.go b/tests/e2e/actions.go index 588a1c5d56..a2ff2ee03c 100644 --- a/tests/e2e/actions.go +++ b/tests/e2e/actions.go @@ -469,7 +469,7 @@ func (tr Chain) removeConsumerChain(action RemoveConsumerChainAction, verbose bo } -// submitConsumerAdditionProposal initializes a consumer chain and submits a governance proposal +// SubmitConsumerAdditionProposal initializes a consumer chain and submits a governance proposal func (tr Chain) SubmitConsumerAdditionProposal( action e2e.SubmitConsumerAdditionProposalAction, verbose bool, diff --git a/tests/e2e/commands.go b/tests/e2e/commands.go index 4c9b54ab2b..4b67d6e9f7 100644 --- a/tests/e2e/commands.go +++ b/tests/e2e/commands.go @@ -741,7 +741,7 @@ func (tr Commands) GetProposedConsumerChains(chain ChainID) []string { return chains } -// getQueryNode returns query node tcp address on chain. +// GetQueryNode returns query node tcp address on chain. func (tr Commands) GetQueryNode(chain ChainID) string { return fmt.Sprintf("tcp://%s", tr.GetQueryNodeRPCAddress(chain)) } diff --git a/tests/e2e/v5/commands.go b/tests/e2e/v5/commands.go index a25888713f..8166c84a16 100644 --- a/tests/e2e/v5/commands.go +++ b/tests/e2e/v5/commands.go @@ -794,7 +794,7 @@ func (tr Commands) GetValidatorIP(chain ChainID, validator ValidatorID) string { return tr.ChainConfigs[chain].IpPrefix + "." + tr.ValidatorConfigs[validator].IpSuffix } -// getQueryNode returns query node tcp address on chain. +// GetQueryNode returns query node tcp address on chain. func (tr Commands) GetQueryNode(chain ChainID) string { return fmt.Sprintf("tcp://%s", tr.GetQueryNodeRPCAddress(chain)) } diff --git a/tests/integration/setup.go b/tests/integration/setup.go index ca9adec496..ef42e3fb74 100644 --- a/tests/integration/setup.go +++ b/tests/integration/setup.go @@ -354,7 +354,7 @@ func (suite *CCVTestSuite) setupTransferChannel( suite.Require().NoError(err) } -// SetupAllTransferChannel setup all consumer chains transfer channel +// SetupAllTransferChannels setup all consumer chains transfer channel func (suite *CCVTestSuite) SetupAllTransferChannels() { // setup the first consumer transfer channel suite.SetupTransferChannel()