Re: setEvent is not sending the contect

Mark Lewis

The commit listener is intended only to check for the commit status of submitted transactions at peers. For performance, it uses filtered blocks, which do not contain chaincode event payloads. If you want to see chaincode events then you should use a contract event listener, which will deliver you chaincode events and include the event payload. This also has the benefit of ensuring you get chaincode events delivered in order, exactly once. Using a (persistent) checkpointer alongside your contract event listener will allow you to resume listening at exactly where you left off, event following an application restart.

Join to automatically receive all group messages.