Skip to content

Commit

Permalink
update authority
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Sep 12, 2024
1 parent c4c284b commit b927ae1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions x/bank/v2/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,11 @@ func (suite *KeeperTestSuite) SetupTest() {
env := runtime.NewEnvironment(runtime.NewKVStoreService(key), coretesting.NewNopLogger())

ac := codectestutil.CodecOptions{}.GetAddressCodec()
authority, err := ac.BytesToString(authtypes.NewModuleAddress("gov"))
suite.Require().NoError(err)
authority := authtypes.NewModuleAddress("gov")

suite.ctx = ctx
suite.bankKeeper = *keeper.NewKeeper(
[]byte(authority),
authority,
ac,
env,
encCfg.Codec,
Expand Down

0 comments on commit b927ae1

Please sign in to comment.