refactor(mint): remove .String() address calls (#18167)

This commit is contained in:
Marko
2023-10-18 15:58:46 +00:00
committed by GitHub
parent 3a8f114327
commit 7b90fc0664
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func (suite *MintTestSuite) SetupTest() {
accountKeeper,
bankKeeper,
authtypes.FeeCollectorName,
authtypes.NewModuleAddress(types.GovModuleName).String(),
govModuleNameStr,
)
err := suite.mintKeeper.Params.Set(suite.ctx, types.DefaultParams())
+3 -1
View File
@@ -20,6 +20,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/mint/types"
)
const govModuleNameStr = "cosmos10d07y265gmmuvt4z0w9aw880jnsr700j6zn9kn"
type IntegrationTestSuite struct {
suite.Suite
@@ -56,7 +58,7 @@ func (s *IntegrationTestSuite) SetupTest() {
accountKeeper,
bankKeeper,
authtypes.FeeCollectorName,
authtypes.NewModuleAddress(types.GovModuleName).String(),
govModuleNameStr,
)
s.stakingKeeper = stakingKeeper
s.bankKeeper = bankKeeper