当设置事件的第一个链码被第二个链码调用时,无法捕获链码事件

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

我正在尝试从部署在我的基础设施中的链代码 A 捕获事件有效负载,当我尝试直接从链代码 A 捕获事件有效负载时,它有效,但是当我尝试捕获相同的事件有效负载时当链代码 A 被另一个链代码 B 调用时,它不起作用。有帮助吗?

在最新的 fabric 文档中,描述了只有顶级链代码才能调用 setEvent 来注册链代码事件的限制。 https://hlf.readthedocs.io/en/latest/developapps/transactioncontext.html#stub