diff --git a/app/app.go b/app/app.go index cf2cc78e16..9ac14b4d42 100644 --- a/app/app.go +++ b/app/app.go @@ -598,7 +598,7 @@ func New( ibcTransferModule, gravity.NewAppModule(app.GravityKeeper, app.BankKeeper), leverage.NewAppModule(appCodec, app.LeverageKeeper, app.AccountKeeper, app.BankKeeper), - oracle.NewAppModule(appCodec, app.OracleKeeper, app.AccountKeeper, app.BankKeeper), + oracle.NewAppModule(appCodec, app.OracleKeeper, app.AccountKeeper, app.BankKeeper, Experimental), bech32ibc.NewAppModule(appCodec, app.bech32IbcKeeper), } if Experimental { diff --git a/x/oracle/module.go b/x/oracle/module.go index 5f73bcd7f4..4e84e26f46 100644 --- a/x/oracle/module.go +++ b/x/oracle/module.go @@ -107,6 +107,7 @@ type AppModule struct { keeper keeper.Keeper accountKeeper types.AccountKeeper bankKeeper bankkeeper.Keeper + experimental bool } func NewAppModule( @@ -114,12 +115,14 @@ func NewAppModule( keeper keeper.Keeper, accountKeeper types.AccountKeeper, bankKeeper bankkeeper.Keeper, + experimental bool, ) AppModule { return AppModule{ AppModuleBasic: NewAppModuleBasic(cdc), keeper: keeper, accountKeeper: accountKeeper, bankKeeper: bankKeeper, + experimental: experimental, } }