caliper-benchmarks icon indicating copy to clipboard operation
caliper-benchmarks copied to clipboard

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

Open hhp2020 opened this issue 5 years ago • 1 comments
trafficstars

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 ?

hhp2020 avatar Aug 27 '20 00:08 hhp2020

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

davidkel avatar Jan 25 '22 14:01 davidkel