Skip to content
  • Jason Yellick's avatar
    aa52af1a
    FAB-10999 Inject explicit chaincode_support to ipc · aa52af1a
    Jason Yellick authored
    
    
    Presently, a reference to the chaincode support is carried to the
    inproccontroller as a value on the context, which is a really odd/wrong
    thing to do.  This CR makes the dependency explicit by adding it as a
    member of the inproccontroller structs, setting it as soon as the
    chaincode support is available.
    
    Ideally, the creation of the inproccontroller would be atomic, but, such
    are our wiring woes, that the chaincode support can only be set after
    the initial construction.
    
    Change-Id: Icbc7408d39e2042e585daf26ac52b30956fd80c3
    Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
    aa52af1a
    FAB-10999 Inject explicit chaincode_support to ipc
    Jason Yellick authored
    
    
    Presently, a reference to the chaincode support is carried to the
    inproccontroller as a value on the context, which is a really odd/wrong
    thing to do.  This CR makes the dependency explicit by adding it as a
    member of the inproccontroller structs, setting it as soon as the
    chaincode support is available.
    
    Ideally, the creation of the inproccontroller would be atomic, but, such
    are our wiring woes, that the chaincode support can only be set after
    the initial construction.
    
    Change-Id: Icbc7408d39e2042e585daf26ac52b30956fd80c3
    Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
Loading