Callback panics and out of gas errors are not emitted in events #4566
Labels
callbacks middleware
Issues for callbacks middleware
type: refactor
Architecture, code or CI improvements that may or may not tackle technical debt.
Summary of Bug
The events should indicate that an error occurred during the callback if the callback cannot be executed due to a panic or an oog error. Currently, in these two cases, the event indicates that the callback was
"successful"
.Expected Behaviour
The callback event is emitted as a
"failure"
and a description of the error is given.Version
modules/apps/callbacks/v0.1.0+ibc-go-v7.3
Steps to Reproduce
Both cases are clearly tested here. So this issue is already reproduced.
For Admin Use
The text was updated successfully, but these errors were encountered: