From c022dbf2110a72ac7288107694cce7090d1986c6 Mon Sep 17 00:00:00 2001 From: yumeiyin Date: Mon, 14 Jul 2025 11:52:51 +0800 Subject: [PATCH] chore: fix some function names in comment Signed-off-by: yumeiyin --- injective-chain/modules/tokenfactory/types/params.go | 2 +- injective-chain/modules/txfees/keeper/mempool-1559/feestate.go | 2 +- injective-chain/wasmbinding/query_plugin.go | 2 +- interchaintest/setup.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/injective-chain/modules/tokenfactory/types/params.go b/injective-chain/modules/tokenfactory/types/params.go index 0eb4d1a4..8bc13ab1 100644 --- a/injective-chain/modules/tokenfactory/types/params.go +++ b/injective-chain/modules/tokenfactory/types/params.go @@ -15,7 +15,7 @@ var ( KeyDenomCreationFee = []byte("DenomCreationFee") ) -// ParamTable for tokenfactory module. +// ParamKeyTable for tokenfactory module. func ParamKeyTable() paramtypes.KeyTable { return paramtypes.NewKeyTable().RegisterParamSet(&Params{}) } diff --git a/injective-chain/modules/txfees/keeper/mempool-1559/feestate.go b/injective-chain/modules/txfees/keeper/mempool-1559/feestate.go index 67ce6719..49792903 100644 --- a/injective-chain/modules/txfees/keeper/mempool-1559/feestate.go +++ b/injective-chain/modules/txfees/keeper/mempool-1559/feestate.go @@ -82,7 +82,7 @@ func (e *FeeState) SetBackupFilePath(backupFilePath string) { e.backupFilePath = backupFilePath } -// startBlock is executed at the start of each block and is responsible for resetting the state +// StartBlock is executed at the start of each block and is responsible for resetting the state // of the CurBaseFee when the node reaches the reset interval func (e *FeeState) StartBlock(logger log.Logger, height int64) { e.currentBlockHeight = height diff --git a/injective-chain/wasmbinding/query_plugin.go b/injective-chain/wasmbinding/query_plugin.go index ee89a880..0e70ae6c 100644 --- a/injective-chain/wasmbinding/query_plugin.go +++ b/injective-chain/wasmbinding/query_plugin.go @@ -167,7 +167,7 @@ func StargateQuerier( } } -// ConvertProtoToJsonMarshal unmarshals the given bytes into a proto message and then marshals it to json. +// ConvertProtoToJSONMarshal unmarshals the given bytes into a proto message and then marshals it to json. // This is done so that clients calling stargate queries do not need to define their own proto unmarshalers, // being able to use response directly by json marshalling, which is supported in cosmwasm. func ConvertProtoToJSONMarshal(cdc codec.Codec, protoResponse proto.Message, bz []byte) ([]byte, error) { diff --git a/interchaintest/setup.go b/interchaintest/setup.go index 6da519d6..ee595bb4 100644 --- a/interchaintest/setup.go +++ b/interchaintest/setup.go @@ -96,7 +96,7 @@ func injectiveEncoding() *cosmtestutil.TestEncodingConfig { return &cfg } -// injectiveChainConfig returns dynamic config for injective chains, allowing to inject genesis overrides +// InjectiveChainConfig returns dynamic config for injective chains, allowing to inject genesis overrides func InjectiveChainConfig( genesisOverrides ...cosmos.GenesisKV, ) ibc.ChainConfig {