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

Test-network-k8s network script gets last version Fabric bin files instead of requested version #1204

Open
amiramte opened this issue May 1, 2024 · 0 comments

Comments

@amiramte
Copy link

amiramte commented May 1, 2024

In Fabric-samples when using test-network-k8s in order to bring up cluster and network , it always downloads the latest version of Fabric binary files regardless of if any versions had been specified by any means. It may lead to unkonwn version compability issues.
To be more detailed about the reason it should be explained that when the "network" script runs, at the very first stages the function named "check_prereqs" is called in which the presence of pre-requirements will be checked. In that function availability of /bin and its inner binary files is checked and in case of absence, the Fabric "bootstrap.sh" from "https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/bootstrap.sh" is used to obtain the binary files and place them to /bin folder. But this "bootstrap.sh" script is called without telling which version of bin files should be grabbed so the latest version will be.
In order to solve this issue I have added two variables to the script call, one for Fabric binaries and one for Fabric CA.

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

No branches or pull requests

1 participant