diff --git a/app/app.go b/app/app.go index a4e8aa9e..a07d8a66 100644 --- a/app/app.go +++ b/app/app.go @@ -837,7 +837,7 @@ func (app *SommelierApp) ModuleAccountAddrs() map[string]bool { return modAccAddrs } -// ModuleAccountNames returns a map of module account address to module name +// ModuleAccountAddressesToNames returns a map of module account address to module name func (app *SommelierApp) ModuleAccountAddressesToNames(moduleAccounts []string) map[string]string { modAccNames := make(map[string]string) for _, acc := range moduleAccounts { diff --git a/x/auction/types/keys.go b/x/auction/types/keys.go index cb0756d2..b40c2be6 100644 --- a/x/auction/types/keys.go +++ b/x/auction/types/keys.go @@ -58,7 +58,7 @@ func GetEndedAuctionsPrefix() []byte { return []byte{EndedAuctionsPrefix} } -// GetEndedAuctionsKey returns the key for an ended auction +// GetEndedAuctionKey returns the key for an ended auction func GetEndedAuctionKey(id uint32) []byte { b := make([]byte, 4) binary.BigEndian.PutUint32(b, id) diff --git a/x/axelarcork/keeper/keeper.go b/x/axelarcork/keeper/keeper.go index 39fbcb1a..35d75b30 100644 --- a/x/axelarcork/keeper/keeper.go +++ b/x/axelarcork/keeper/keeper.go @@ -324,7 +324,7 @@ func (k Keeper) DeleteAxelarCorkResult(ctx sdk.Context, chainID uint64, id []byt ctx.KVStore(k.storeKey).Delete(types.GetAxelarCorkResultKey(chainID, id)) } -// IterateCorksResult iterates over all cork results by chain ID +// IterateAxelarCorkResults iterates over all cork results by chain ID func (k Keeper) IterateAxelarCorkResults(ctx sdk.Context, chainID uint64, cb func(id []byte, blockHeight uint64, approved bool, approvalPercentage string, corkResult types.AxelarCorkResult) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, types.GetAxelarCorkResultPrefix(chainID)) diff --git a/x/cork/keeper/keeper.go b/x/cork/keeper/keeper.go index b96ec338..5222263b 100644 --- a/x/cork/keeper/keeper.go +++ b/x/cork/keeper/keeper.go @@ -244,7 +244,7 @@ func (k Keeper) DeleteCorkResult(ctx sdk.Context, id []byte) { ctx.KVStore(k.storeKey).Delete(corktypes.GetCorkResultKey(id)) } -// IterateCorksResult iterates over all cork results in the store +// IterateCorkResults iterates over all cork results in the store func (k Keeper) IterateCorkResults(ctx sdk.Context, cb func(id []byte, blockHeight uint64, approved bool, approvalPercentage string, corkResult types.CorkResult) (stop bool)) { store := ctx.KVStore(k.storeKey) iter := sdk.KVStorePrefixIterator(store, corktypes.GetCorkResultPrefix())