Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-18100

Chaincode should be able to emit an event when it's invoked by other chaincode

    XMLWordPrintable

Details

    • Story
    • Status: Backlog
    • High
    • Resolution: Unresolved
    • v2.0.0, v2.1.0, v2.0.1
    • None
    • None
    • No
    • Unset
    • Unset

    Description

      The current behaviour regarding chaincode events is as follows:

      "Only the chaincode invoked by the client can emit events"

      So that means it's not possible to implement a proxy chaincode that invokes another chaincode (child chaincode) because all the events related to this last one will be lost.

      This doesn't make sense and becomes a limitation. Events should be thrown in a basic delegate call implementation.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Diegoescalonaro Diego Escalona Rodriguez
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: