fix(runtime): PreBlocker getting overwritten if set as a baseapp option (#17944)

This commit is contained in:
Facundo Medica
2023-10-10 14:46:12 +00:00
committed by GitHub
parent ea0a9b2f5f
commit 3ac7c0effd
4 changed files with 8 additions and 3 deletions
-1
View File
@@ -35,7 +35,6 @@ func (a *AppBuilder) Build(db dbm.DB, traceStore io.Writer, baseAppOptions ...fu
bApp.SetVersion(version.Version)
bApp.SetInterfaceRegistry(a.app.interfaceRegistry)
bApp.MountStores(a.app.storeKeys...)
bApp.SetPreBlocker(a.app.PreBlocker)
a.app.BaseApp = bApp
a.app.configurator = module.NewConfigurator(a.app.cdc, a.app.MsgServiceRouter(), a.app.GRPCQueryRouter())