Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: cuibuwei <[email protected]>
  • Loading branch information
cuibuwei committed Dec 2, 2024
1 parent b2b6abe commit bf8aca0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/ibctesting/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (coord *Coordinator) SetupClients(path *Path) {
require.NoError(coord.t, err)
}

// SetupClientConnections is a helper function to create clients and the appropriate
// SetupConnections is a helper function to create clients and the appropriate
// connections on both the source and counterparty chain. It assumes the caller does not
// anticipate any errors.
func (coord *Coordinator) SetupConnections(path *Path) {
Expand All @@ -111,7 +111,7 @@ func (coord *Coordinator) SetupConnections(path *Path) {
coord.CreateConnections(path)
}

// CreateConnection constructs and executes connection handshake messages in order to create
// CreateConnections constructs and executes connection handshake messages in order to create
// OPEN channels on chainA and chainB. The connection information of for chainA and chainB
// are returned within a TestConnection struct. The function expects the connections to be
// successfully opened otherwise testing will fail.
Expand Down Expand Up @@ -154,7 +154,7 @@ func (coord *Coordinator) CreateTransferChannels(path *Path) {
coord.CreateChannels(path)
}

// CreateChannel constructs and executes channel handshake messages in order to create
// CreateChannels constructs and executes channel handshake messages in order to create
// OPEN channels on chainA and chainB. The function expects the channels to be successfully
// opened otherwise testing will fail.
func (coord *Coordinator) CreateChannels(path *Path) {
Expand Down
2 changes: 1 addition & 1 deletion x/wasm/simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/CosmWasm/wasmd/x/wasm/types"
)

// RandomizeGenState generates a random GenesisState for wasm
// RandomizedGenState generates a random GenesisState for wasm
func RandomizedGenState(simstate *module.SimulationState) {
params := types.DefaultParams()
wasmGenesis := types.GenesisState{
Expand Down

0 comments on commit bf8aca0

Please sign in to comment.