Skip to content

Commit

Permalink
fix: init genesis rate-limited-params not running (#4452)
Browse files Browse the repository at this point in the history
  • Loading branch information
p0mvn authored Feb 28, 2023
1 parent 303717a commit bc8aa38
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import (

downtimemodule "github.com/osmosis-labs/osmosis/v14/x/downtime-detector/module"
downtimetypes "github.com/osmosis-labs/osmosis/v14/x/downtime-detector/types"
"github.com/osmosis-labs/osmosis/v14/x/ibc-rate-limit/ibcratelimitmodule"
ibcratelimittypes "github.com/osmosis-labs/osmosis/v14/x/ibc-rate-limit/types"
ibc_hooks "github.com/osmosis-labs/osmosis/x/ibc-hooks"

"github.com/cosmos/cosmos-sdk/types/module"
Expand Down Expand Up @@ -152,6 +154,7 @@ func appModules(
),
tokenfactory.NewAppModule(*app.TokenFactoryKeeper, app.AccountKeeper, app.BankKeeper),
ibc_hooks.NewAppModule(app.AccountKeeper),
ibcratelimitmodule.NewAppModule(*app.RateLimitingICS4Wrapper),
}
}

Expand Down Expand Up @@ -231,6 +234,7 @@ func OrderInitGenesis(allModuleNames []string) []string {
wasm.ModuleName,
// ibc_hooks after auth keeper
ibchookstypes.ModuleName,
ibcratelimittypes.ModuleName,
}
}

Expand Down

0 comments on commit bc8aa38

Please sign in to comment.