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

This commit is contained in:
Marko 2023-10-18 17:58:46 +02:00 committed by GitHub
parent 3a8f114327
commit 7b90fc0664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

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())

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