Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hhp2020 opened this issue Aug 27, 2020 · 1 comment
Open

Comments

@hhp2020
Copy link

hhp2020 commented Aug 27, 2020

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants