Skip to content

Commit

Permalink
chore: fix some comments (#6909)
Browse files Browse the repository at this point in the history
Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>
  • Loading branch information
yingshanghuangqiao authored Jul 22, 2024
1 parent 214f6d8 commit f738c22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/core/02-client/migrations/v7/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func handleSolomachineMigration(ctx sdk.Context, store storetypes.KVStore, cdc c
return nil
}

// handlerTendermintMigration asserts that the tendermint client in state can be decoded properly.
// handleTendermintMigration asserts that the tendermint client in state can be decoded properly.
// This ensures the upgrading chain properly registered the tendermint client types on the chain codec.
func handleTendermintMigration(ctx sdk.Context, store storetypes.KVStore, clientKeeper ClientKeeper) error {
clients, err := collectClients(ctx, store, exported.Tendermint)
Expand Down
2 changes: 1 addition & 1 deletion modules/core/03-connection/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (suite *KeeperTestSuite) TestDefaultSetParams() {
suite.Require().Equal(expParams, params)
}

// TestParams tests that param setting and retrieval works properly
// TestSetAndGetParams tests that param setting and retrieval works properly
func (suite *KeeperTestSuite) TestSetAndGetParams() {
testCases := []struct {
name string
Expand Down
2 changes: 1 addition & 1 deletion modules/core/03-connection/keeper/verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (suite *KeeperTestSuite) TestVerifyChannelState() {
}
}

// TestVerifyPacketCommitmentState has chainB verify the packet commitment
// TestVerifyPacketCommitment has chainB verify the packet commitment
// on channelA. The channels on chainA and chainB are fully opened and a
// packet is sent from chainA to chainB, but has not been received.
func (suite *KeeperTestSuite) TestVerifyPacketCommitment() {
Expand Down

0 comments on commit f738c22

Please sign in to comment.