Skip to content

Commit

Permalink
Maybe fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbond committed May 16, 2023
1 parent a7d1e50 commit 9a81fb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/keepers/keepers.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ func (ak *SecretAppKeepers) InitCustomKeepers(
)
ak.ICAHostKeeper = &icaHostKeeper

icaAuthKeeper := icaauthkeeper.NewKeeper(appCodec, ak.keys[icaauthtypes.StoreKey], *ak.ICAControllerKeeper, ak.ScopedICAAuthKeeper)
ak.ICAAuthKeeper = &icaAuthKeeper

icaHostIBCModule := icahost.NewIBCModule(*ak.ICAHostKeeper)

// Create Transfer Keepers
Expand Down
2 changes: 2 additions & 0 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
ibcswitch "github.com/scrtlabs/SecretNetwork/x/emergencybutton"
reg "github.com/scrtlabs/SecretNetwork/x/registration"
packetforward "github.com/strangelove-ventures/packet-forward-middleware/v4/router"
icaauth "github.com/scrtlabs/SecretNetwork/x/mauth"
)

var ModuleAccountPermissions = map[string][]string{
Expand Down Expand Up @@ -80,5 +81,6 @@ func AppModules(
packetforward.NewAppModule(app.AppKeepers.PacketForwardKeeper),
ibcfee.NewAppModule(app.AppKeepers.IbcFeeKeeper),
ibcswitch.NewAppModule(app.AppKeepers.IbcSwitchKeeper),
icaauth.NewAppModule(appCodec, *app.AppKeepers.ICAAuthKeeper),
}
}

0 comments on commit 9a81fb4

Please sign in to comment.