refactor(mint): remove .String() address calls (#18167)
This commit is contained in:
parent
3a8f114327
commit
7b90fc0664
@ -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())
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user