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
Events were initially designed and intended to be emitted during message handlers and ABCI begin/end block executors. However, due to the design and various use cases IBC introduces, it is desirable to also emit events during the AnteHandler.
Any events currently emitted during the AnteHandler will not be captured and returned to Tendermint. I think we can easily support and fix this by updating BaseApp#runTx to grab the events from ctx and add/merge them into the result's events before returning.
Summary of Bug
Events were initially designed and intended to be emitted during message handlers and ABCI begin/end block executors. However, due to the design and various use cases IBC introduces, it is desirable to also emit events during the AnteHandler.
Any events currently emitted during the AnteHandler will not be captured and returned to Tendermint. I think we can easily support and fix this by updating
BaseApp#runTx
to grab the events fromctx
and add/merge them into the result's events before returning.Version
138e0b0
/cc @zmanian @fedekunze
For Admin Use
The text was updated successfully, but these errors were encountered: