Is there an existing issue for this?
What happened?
A cosmos app is panicking at upgrade height when it has abci listeners.
These lines are executed even the internalFinalizeBlock return the errors and res is nil
|
if err := streamingListener.ListenFinalizeBlock(app.finalizeBlockState.Context(), *req, *res); err != nil { |
|
app.logger.Error("ListenFinalizeBlock listening hook failed", "height", req.Height, "err", err) |
|
} |
so *res make the node panic and it sometimes breaking our upgrade checker logics.
Cosmos SDK Version
0.50
How to reproduce?
register abci listener and create upgrade proposal and wait upgrade height
Is there an existing issue for this?
What happened?
A cosmos app is panicking at upgrade height when it has abci listeners.
These lines are executed even the
internalFinalizeBlockreturn the errors andresisnilcosmos-sdk/baseapp/abci.go
Lines 860 to 862 in 7b9d2ff
so
*resmake the node panic and it sometimes breaking our upgrade checker logics.Cosmos SDK Version
0.50
How to reproduce?
register abci listener and create upgrade proposal and wait upgrade height