diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index 74429072..4fc6787e 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -375,7 +375,7 @@ func NewAppKeeper( appKeepers.AccountKeeper, appKeepers.BankKeeper, appKeepers.DistrKeeper, - appKeepers.GetSubspace(onfttypes.ModuleName), + govModAddress, ) appKeepers.MarketplaceKeeper = marketplacekeeper.NewKeeper( appCodec, diff --git a/app/modules.go b/app/modules.go index db761c59..7f4dd3a4 100644 --- a/app/modules.go +++ b/app/modules.go @@ -192,7 +192,14 @@ func appModules( ica.NewAppModule(nil, &app.ICAHostKeeper), packetforward.NewAppModule(app.PacketForwardKeeper), alloc.NewAppModule(appCodec, app.AllocKeeper, app.GetSubspace(alloctypes.ModuleName)), - onft.NewAppModule(appCodec, app.ONFTKeeper, app.AccountKeeper, app.BankKeeper, app.DistrKeeper), + onft.NewAppModule( + appCodec, + app.ONFTKeeper, + app.AccountKeeper, + app.BankKeeper, + app.DistrKeeper, + app.GetSubspace(onfttypes.ModuleName), + ), marketplace.NewAppModule(appCodec, app.MarketplaceKeeper, app.GetSubspace(marketplacetypes.ModuleName)), streampay.NewAppModule(appCodec, app.StreamPayKeeper, app.GetSubspace(streampaytypes.ModuleName)), itc.NewAppModule(appCodec, app.ItcKeeper, app.GetSubspace(itctypes.ModuleName)), diff --git a/go.mod b/go.mod index b8de7df5..0ee67d1c 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( cosmossdk.io/api v0.3.1 cosmossdk.io/errors v1.0.0-beta.7 cosmossdk.io/math v1.0.1 - github.com/OmniFlix/onft v0.6.1-0.20230727173817-10b4097e9fcc + github.com/OmniFlix/onft v0.6.1-0.20230923181114-30842581416b github.com/OmniFlix/streampay/v2 v2.1.1-0.20230922163133-93e80c4663ef github.com/cometbft/cometbft v0.37.2 github.com/cometbft/cometbft-db v0.8.0 diff --git a/go.sum b/go.sum index c229ad36..d53fd146 100644 --- a/go.sum +++ b/go.sum @@ -228,8 +228,8 @@ github.com/DataDog/zstd v1.5.0/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwS github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg= github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw= -github.com/OmniFlix/onft v0.6.1-0.20230727173817-10b4097e9fcc h1:QLt+Wo4zX5Dquej8J8/we7wVO1R6uYIxBvxtJUoylyk= -github.com/OmniFlix/onft v0.6.1-0.20230727173817-10b4097e9fcc/go.mod h1:57nDQZxRTJIfyNlu/mGv7nPag5nRt4Si6mAUQCFv90M= +github.com/OmniFlix/onft v0.6.1-0.20230923181114-30842581416b h1:K59wrzZyVey3GZFfE5VaODw3iIS2+nwxvC/OOTaTkKI= +github.com/OmniFlix/onft v0.6.1-0.20230923181114-30842581416b/go.mod h1:57nDQZxRTJIfyNlu/mGv7nPag5nRt4Si6mAUQCFv90M= github.com/OmniFlix/streampay/v2 v2.1.1-0.20230922163133-93e80c4663ef h1:odIDkcCWx5PTTGM01OgKicnuIx2KaxjNAxrUqdBgtHE= github.com/OmniFlix/streampay/v2 v2.1.1-0.20230922163133-93e80c4663ef/go.mod h1:geZrSHVaGHERqTn1tuFfoH3PIHV5TOwaRErzi4Jnbcw= github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=