Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Errors about deploying chaincode #2983

Closed
SipengXie opened this issue Mar 1, 2021 · 1 comment
Closed

Errors about deploying chaincode #2983

SipengXie opened this issue Mar 1, 2021 · 1 comment
Labels
external needs more info Lacks enough info to make progress

Comments

@SipengXie
Copy link

I tried using the sample chaincode of the go version, but failed many times.
The error information of VsCode is as followed
Failed to install on peer Org1 Peer with reason: Could not install smart contact received error: failed with status:500 ::failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: external builder failed: external builder failed to build: external builder 'golang' failed: exit status 1

@james-wallis
Copy link
Contributor

I've tried to recreate this on V2.0.2.
I was able to:

  • Generate a Go Smart Contract and package it (V2/.tar.gz) (I guess this is what you mean by sample chaincode of the go version?)
  • Deploy it onto a local fabric environment
  • Submit a CreateMyAsset transaction and perform an evaluate query on ReadMyAsset

@SipengXie can you provide more information on your environment and the steps you've taken to use the sample chaincode? It would also help if you attach the sample chaincode so that I can test it locally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external needs more info Lacks enough info to make progress
Projects
None yet
Development

No branches or pull requests

3 participants