diff --git a/app.go b/app.go index ad5360494872..57cbb500f945 100644 --- a/app.go +++ b/app.go @@ -248,7 +248,7 @@ func NewSimApp( memKeys := sdk.NewMemoryStoreKeys(capabilitytypes.MemStoreKey, "testingkey") // load state streaming if enabled - if _, _, err := streaming.LoadStreamingServices(bApp, appOpts, appCodec, keys); err != nil { + if _, _, err := streaming.LoadStreamingServices(bApp, appOpts, appCodec, logger, keys); err != nil { fmt.Printf("failed to load state streaming: %s", err) os.Exit(1) } diff --git a/app_v2.go b/app_v2.go index 611b7b22f619..9dcba3bb85e2 100644 --- a/app_v2.go +++ b/app_v2.go @@ -268,7 +268,7 @@ func NewSimApp( app.App = appBuilder.Build(logger, db, traceStore, baseAppOptions...) // load state streaming if enabled - if _, _, err := streaming.LoadStreamingServices(app.App.BaseApp, appOpts, app.appCodec, app.keys); err != nil { + if _, _, err := streaming.LoadStreamingServices(app.App.BaseApp, appOpts, app.appCodec, logger, app.keys); err != nil { fmt.Printf("failed to load state streaming: %s", err) os.Exit(1) }