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

Fabric Version Lag in Docker Environment #609

Open
xiaor2 opened this issue Apr 8, 2024 · 0 comments
Open

Fabric Version Lag in Docker Environment #609

xiaor2 opened this issue Apr 8, 2024 · 0 comments

Comments

@xiaor2
Copy link
Member

xiaor2 commented Apr 8, 2024

In the chaincode.py file, lifecycle_calculatepackageid functions has a line:
res = subprocess.Popen("{} lifecycle chaincode calculatepackageid {} ".format(self.peer, cc_path), shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
It used the calculatepackageid flag which is not available in the current Fabric version in the docker, which caused the package_id to have invalid contents, and the chaincode can not be uploaded due to this reason.

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