You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was tracing through some code and I put in a panic to get a stack trace for a particular execution path. I did not know the panic I added was going to go through (STF).deliverTx. The STF code recovered the panic, but then s.logger.Error caused a nil dereference panic due to s.logger being unset. There appears to be no code path that sets s.logger
Is there an existing issue for this?
What happened?
I was tracing through some code and I put in a panic to get a stack trace for a particular execution path. I did not know the panic I added was going to go through
(STF).deliverTx
. The STF code recovered the panic, but thens.logger.Error
caused a nil dereference panic due tos.logger
being unset. There appears to be no code path that setss.logger
This is the line that causes the nil dereference:
cosmos-sdk/server/v2/stf/stf.go
Line 173 in 55b0093
This panic would have shown up in test if the recover path were covered.
Cosmos SDK Version
main
How to reproduce?
No response
The text was updated successfully, but these errors were encountered: