Re: Multiple smart contracts in single chaincode


Bram Dufour
 

Hi Suhan,

How are you invoking the chaincode exactly?

Did you try not just specifying the method name but prefixing the method with the contract name and a colon? Like this: "Contract2:MethodName"

For example when using command line: ... -c '{"Args": ["Contract2:MethodName",  ... ]}' ...

Join fabric@lists.hyperledger.org to automatically receive all group messages.