hyperledger / caliper

A blockchain benchmark framework to measure performance of multiple blockchain solutions https://wiki.hyperledger.org/display/caliper
https://hyperledger.github.io/caliper/
Apache License 2.0
642 stars 403 forks source link

how invokeSmartContract is called on multiple channel. #983

Closed Shweta-hlf closed 3 years ago

Shweta-hlf commented 3 years ago

I am Intergrating Hyperledger Caliper(v0.3.2) with Fabric(1.4.7).How invokeSmartContract is called on multiple channel? I tried to invoke chaincode function on multiple channel,but data added into last channel only. Kindly help.

 

nklincoln commented 3 years ago

if you use the standard fabric connector (non gateway) you disambiguate between contracts on different channels using the unique contractID property. Note contractID is unique across channels, but multiple channels may have the same name contract captured in the id property

https://hyperledger.github.io/caliper/v0.3.2/fabric-config/#network-configuration-file-reference

nklincoln commented 3 years ago

closing as question is answered