hyperledger / caliper-benchmarks

Sample benchmark files for Hyperledger Caliper https://wiki.hyperledger.org/display/caliper
https://hyperledger.github.io/caliper-benchmarks/
Apache License 2.0
113 stars 119 forks source link

Unexpected error during benchmark execution: Caliper Benchmark HLF v1.4.1 #113

Open hhp2020 opened 4 years ago

hhp2020 commented 4 years ago

Hi,

I was trying to run the caliper-benchmark and just immediately i have this error:

Unexpected error during benchmark execution: Error: Invalid "mychannel" channel configuration: child "chaincodes" fails because ["chaincodes" is required]. "contracts" is not allowed.

the command was:

caliper launch master \

--caliper-workspace ~/caliper-benchmarks \
--caliper-benchconfig benchmarks/samples/fabric/fabcar/config.yaml \
--caliper-networkconfig networks/fabric/v1/v1.4.1/2org1peergoleveldb/fabric-go.yaml

I couldnt find any solution. The environmnet: Node 8.15 npm 6.4 go 1.11 Ubuntu 18.04

any suggestions please ?

davidkel commented 2 years ago

Looks like you are trying to use an old version of caliper which doesn't recognise the config files in the benchmark repo. I would recommend using caliper 0.4.2