Closed abhilekhsingh041992 closed 7 years ago
@abhilekhsingh041992 curret branch is having fabricV0.6 based code . From this logs I undertand you are executing this on Fabric master branch which is V1.0 , hence you see these errors
./art_app.go:304: cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start:
*SimpleChaincode does not implement shim.Chaincode (wrong type for Init method)
have Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error)
want Init(shim.ChaincodeStubInterface) peer.Response
@rameshthoomu would be uploading the latest code by tomorrow along with README instructions. Please stay tuned.
@abhilekhsingh041992 master branch now supports v1.0 changes. Please go through the README for the last working commit number.
@abhilekhsingh041992 Master branch is now compatible with V1.0 alpha code. Closing the issue.
I setup fabric on vagrant.
I was able to run this command successfully.
But getting error in 2nd command:
Using
go version go1.7.3 linux/amd64
Output:
What I am doing wrong here?