From 0ebfbdccd8a495e5674b38aa3cd531144581d1c8 Mon Sep 17 00:00:00 2001 From: soonsouth Date: Tue, 10 Dec 2024 11:52:36 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: soonsouth --- modules/core/04-channel/keeper/keeper_test.go | 2 +- modules/light-clients/08-wasm/internal/types/store.go | 2 +- modules/light-clients/08-wasm/keeper/keeper.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/04-channel/keeper/keeper_test.go b/modules/core/04-channel/keeper/keeper_test.go index c6014805af6..ef264410d19 100644 --- a/modules/core/04-channel/keeper/keeper_test.go +++ b/modules/core/04-channel/keeper/keeper_test.go @@ -915,7 +915,7 @@ func (suite *KeeperTestSuite) UpgradeChannel(path *ibctesting.Path, upgradeField suite.Require().NoError(err) } -// sendMockPacket sends a packet from source to dest and acknowledges it on the source (completing the packet lifecycle) +// sendMockPackets sends a packet from source to dest and acknowledges it on the source (completing the packet lifecycle) // if acknowledge is true. If acknowledge is false, then the packet will be sent, but timed out. // Question(jim): find a nicer home for this? func (suite *KeeperTestSuite) sendMockPackets(path *ibctesting.Path, numPackets int, acknowledge bool) { diff --git a/modules/light-clients/08-wasm/internal/types/store.go b/modules/light-clients/08-wasm/internal/types/store.go index 11ffd559d94..5d70b4495fe 100644 --- a/modules/light-clients/08-wasm/internal/types/store.go +++ b/modules/light-clients/08-wasm/internal/types/store.go @@ -151,7 +151,7 @@ func (s ClientRecoveryStore) CacheWrapWithTrace(w io.Writer, tc storetypes.Trace return cachekv.NewStore(tracekv.NewStore(s, w, tc)) } -// getStore returns the types to be used for the given key and a boolean flag indicating if that types was found. +// GetStore returns the types to be used for the given key and a boolean flag indicating if that types was found. // If the key is prefixed with "subject/", the subjectStore is returned. If the key is prefixed with "substitute/", // the substituteStore is returned. // diff --git a/modules/light-clients/08-wasm/keeper/keeper.go b/modules/light-clients/08-wasm/keeper/keeper.go index 0e2d8f1b8bd..5e05a7a44c4 100644 --- a/modules/light-clients/08-wasm/keeper/keeper.go +++ b/modules/light-clients/08-wasm/keeper/keeper.go @@ -72,7 +72,7 @@ func (k Keeper) getQueryPlugins() QueryPlugins { return k.queryPlugins } -// SetQueryPlugins sets the plugins. +// setQueryPlugins sets the plugins. func (k *Keeper) setQueryPlugins(plugins QueryPlugins) { k.queryPlugins = plugins }