Closed LCY0710 closed 1 year ago
I hace already tryhttps://github.com/hyperledger/caliper/issues/1395
npx caliper bind --caliper-bind-sut fabric:2.2.14
however,it comes new problem
error [caliper] [bind] Unknown "fabric" SDK version "2.2.14"
@LCY0710 you can't just bind to fabric:2.2.14, you have to create your own custom bind file and have caliper reference that bind file and then you can bind to the definitions in that custom bind file. This is described in that issue. I would suggest however that you should be using hyperledger 2.5 as this is the new LTS release and 2.2 will go out of LTS at the end of the year. Using fabric 2.5 means you can then bind to fabric:2.4
which goes via the gateway peer service. Hyperledger Fabric 2.5 announced the deprecation of fabric node sdk 2.2 as part of the 2.5 LTS release announcement and that is what caliper uses when you bind to fabric 2.2
@LCY0710 you can't just bind to fabric:2.2.14, you have to create your own custom bind file and have caliper reference that bind file and then you can bind to the definitions in that custom bind file. This is described in that issue. I would suggest however that you should be using hyperledger 2.5 as this is the new LTS release and 2.2 will go out of LTS at the end of the year. Using fabric 2.5 means you can then bind to
fabric:2.4
which goes via the gateway peer service. Hyperledger Fabric 2.5 announced the deprecation of fabric node sdk 2.2 as part of the 2.5 LTS release announcement and that is what caliper uses when you bind to fabric 2.2
It works! thank u very much!
error [caliper] [connectors/v2/FabricGateway] Failed to perform submit transaction [CreateUser] using arguments [USER4,4,10000], with error: Error: No endorsement plan available
please help me