Oussema
Oussema

Reputation: 25

Failed to catch a chaincode event when the the first chaincode who set the event is invoked by a second chaincode

I'm trying to catch an event payload from a chaincode A deployed in my infra, when I tried to catch the event payload directly from the chaincode A, it works, but when I try to catch the same event payload when a chaincode A is invoked by another chaincode B, it doesn't work. Any help ?

Upvotes: 1

Views: 69

Answers (1)

david_k
david_k

Reputation: 5868

In the latest fabric documentation, the limitation is described that only the top level chaincode can call setEvent to register a chaincode event. https://hlf.readthedocs.io/en/latest/developapps/transactioncontext.html#stub

Upvotes: 2

Related Questions