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

DevMode - Modify chaincode endorsement to support DevMode

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • v2.3.0, v2.2.1
    • None

    Description

      In order to support DevMode with new lifecycle, chaincode endorsement info need to be slightly modified. 

      As when developer running the DevMode, chaincode will be launched by developer, and it will not be installed and launched by peer. When `CachedChaincodeInfo`, `InstallInfo` will be missing when DevMode is enabled, and this behavior need to be handled and returned correctly. 

       

      Acceptance:

      • Have correct behavior for `CachedChaincodeInfo` and `ChaincodeEndorsementInfo` when DevMode is enabled.
      • Have unit test coverage to test behavior of `ChaincodeEndorsementInfoSource` when DevMode is enabled.

      Attachments

        Issue Links

          Activity

            People

              dereckluo Chongxin Luo
              dereckluo Chongxin Luo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: