Skip to content

Commit

Permalink
set bank keeper to authz keeper
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Nov 19, 2024
1 parent 96d8617 commit 2b02285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ func NewAppKeeper(
appKeepers.FeeGrantKeeper = &feeGrantKeeper

authzKeeper := authzkeeper.NewKeeper(runtime.NewKVStoreService(appKeepers.keys[authzkeeper.StoreKey]), appCodec, bApp.MsgServiceRouter(), appKeepers.AccountKeeper)
authzKeeper = authzKeeper.SetBankKeeper(appKeepers.BankKeeper)
appKeepers.AuthzKeeper = &authzKeeper

groupConfig := group.DefaultConfig()
Expand Down
2 changes: 1 addition & 1 deletion app/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
opchildtypes "github.com/initia-labs/OPinit/x/opchild/types"
)

const upgradeName = "0.6.5"
const upgradeName = "0.6.6"

// RegisterUpgradeHandlers returns upgrade handlers
func (app *MinitiaApp) RegisterUpgradeHandlers(cfg module.Configurator) {
Expand Down

0 comments on commit 2b02285

Please sign in to comment.