From 8d07d9cb3bcca96b5d64fadc79b23af1ee09c881 Mon Sep 17 00:00:00 2001 From: zoupingshi Date: Fri, 31 May 2024 22:15:15 +0800 Subject: [PATCH] chore: fix some function names (#1929) Signed-off-by: zoupingshi --- x/community/types/proposal.go | 2 +- x/evmutil/keeper/invariants_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x/community/types/proposal.go b/x/community/types/proposal.go index 9000fc29..ba8471da 100644 --- a/x/community/types/proposal.go +++ b/x/community/types/proposal.go @@ -199,7 +199,7 @@ func (p *CommunityCDPRepayDebtProposal) ValidateBasic() error { return nil } -// NewCommunityCDPRepayDebtProposal creates a new community pool cdp debt repay proposal. +// NewCommunityCDPWithdrawCollateralProposal creates a new community pool cdp debt repay proposal. func NewCommunityCDPWithdrawCollateralProposal( title string, description string, diff --git a/x/evmutil/keeper/invariants_test.go b/x/evmutil/keeper/invariants_test.go index 3b3867c0..0dcaa1ed 100644 --- a/x/evmutil/keeper/invariants_test.go +++ b/x/evmutil/keeper/invariants_test.go @@ -96,7 +96,7 @@ func (suite *invariantTestSuite) SetupValidState() { suite.NoError(err) } -// RegisterRoutes implements sdk.InvariantRegistry +// RegisterRoute implements sdk.InvariantRegistry func (suite *invariantTestSuite) RegisterRoute(moduleName string, route string, invariant sdk.Invariant) { _, exists := suite.invariants[moduleName]