|
using go routine in the chaincode
#fabric-chaincode
#fabric-questions
Hi, Concurrency (using goroutine and go channel) can cause non-deterministic behavior in fabric. I have not found any source or example on the use of Goroutines and go channels in fabric contracts; I
Hi, Concurrency (using goroutine and go channel) can cause non-deterministic behavior in fabric. I have not found any source or example on the use of Goroutines and go channels in fabric contracts; I
|
By
elmira
· #9870
·
|
|
Is there any way to query the couchDB records by nested properties of an array?
#couchdb
#fabric-chaincode
Hi there, I'm was trying to find out if this is possible on the SO and reading the CouchDB documentation, but could not find anything that would work on the Fauxton web client to test it. I have a dat
Hi there, I'm was trying to find out if this is possible on the SO and reading the CouchDB documentation, but could not find anything that would work on the Fauxton web client to test it. I have a dat
|
By
...
· #9804
·
|
|
calling a methods chaincode from a different method in the same chaincode
#fabric-chaincode
Hi Malik, The contract API is used to invoke a chaincode usually deployed as separate instance (could be on the same or different channel). When you need to call a method inside your chaincode you jus
Hi Malik, The contract API is used to invoke a chaincode usually deployed as separate instance (could be on the same or different channel). When you need to call a method inside your chaincode you jus
|
By
Tsvetan Georgiev
· #9796
·
|
|
calling a methods chaincode from a different method in the same chaincode
#fabric-chaincode
Hello Guys, Just a quick question. I have this scenario where I'm calling one method inside a chaincode A (let's say to update some properties based on external factors). Now, these external factors a
Hello Guys, Just a quick question. I have this scenario where I'm calling one method inside a chaincode A (let's say to update some properties based on external factors). Now, these external factors a
|
By
...
· #9795
·
|
|
#fabric-chaincode
#fabric-chaincode
Hi, No, you don't have to start each contract individually in the main() function. In the Contract.NewChaincode() pass the multiple Contracts. Thanks, Nidhi Singh
Hi, No, you don't have to start each contract individually in the main() function. In the Contract.NewChaincode() pass the multiple Contracts. Thanks, Nidhi Singh
|
By
Nidhi Singh
· #9794
·
|
|
#fabric-chaincode
#fabric-chaincode
How to deploy multi contracts in one chaincode package? In single contract examples, there is a main() function starts the defined contracts by shim.Start(). In multi contracts scenario, do I need to
How to deploy multi contracts in one chaincode package? In single contract examples, there is a main() function starts the defined contracts by shim.Start(). In multi contracts scenario, do I need to
|
By
...
· #9793
·
|
|
Editing default signature policy for chaincode triggers error while running transactions: received discovery error:failed constructing descriptor for chaincodes. Commercial paper on Test-network
#policies
#fabric-chaincode
#fabric-questions
#fabric-endorser
Hi Nik, You are right! Defining the policy using the MSP ID's of the organizations, everything works as expected. Thank You. Stefano
Hi Nik, You are right! Defining the policy using the MSP ID's of the organizations, everything works as expected. Thank You. Stefano
|
By
sangieri@...
· #9792
·
|
|
Editing default signature policy for chaincode triggers error while running transactions: received discovery error:failed constructing descriptor for chaincodes. Commercial paper on Test-network
#policies
#fabric-chaincode
#fabric-questions
#fabric-endorser
You may need to use the MSP ID's of the organizations, rather than the informal names. Try this policy: "OR('Org1MSP.peer','Org2MSP.peer')"
You may need to use the MSP ID's of the organizations, rather than the informal names. Try this policy: "OR('Org1MSP.peer','Org2MSP.peer')"
|
By
Nikhil Gupta
· #9790
·
|
|
Editing default signature policy for chaincode triggers error while running transactions: received discovery error:failed constructing descriptor for chaincodes. Commercial paper on Test-network
#policies
#fabric-chaincode
#fabric-questions
#fabric-endorser
Hi Community, Still facing the same issue. Additional log from monitordocker.sh net_test: "peer0.org2.example.com|2021-03-29 12:22:25.948 UTC [discovery] chaincodeQuery -> ERRO 066 Failed constructing
Hi Community, Still facing the same issue. Additional log from monitordocker.sh net_test: "peer0.org2.example.com|2021-03-29 12:22:25.948 UTC [discovery] chaincodeQuery -> ERRO 066 Failed constructing
|
By
sangieri@...
· #9789
·
|
|
Editing default signature policy for chaincode triggers error while running transactions: received discovery error:failed constructing descriptor for chaincodes. Commercial paper on Test-network
#policies
#fabric-chaincode
#fabric-questions
#fabric-endorser
Hi Nik, Thanks for answering. I confirm the chaincode has been committed to the channel: peer lifecycle chaincode commit -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --peerAddres
Hi Nik, Thanks for answering. I confirm the chaincode has been committed to the channel: peer lifecycle chaincode commit -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --peerAddres
|
By
sangieri@...
· #9781
·
|
|
Editing default signature policy for chaincode triggers error while running transactions: received discovery error:failed constructing descriptor for chaincodes. Commercial paper on Test-network
#policies
#fabric-chaincode
#fabric-questions
#fabric-endorser
Hi, Can you confirm that the chaincode has been committed to the channel? Or can you do a docker ps to confirm that the chaincode containers have started. This error looks like the chaincode may not b
Hi, Can you confirm that the chaincode has been committed to the channel? Or can you do a docker ps to confirm that the chaincode containers have started. This error looks like the chaincode may not b
|
By
Nikhil Gupta
· #9780
·
|
|
Editing default signature policy for chaincode triggers error while running transactions: received discovery error:failed constructing descriptor for chaincodes. Commercial paper on Test-network
#policies
#fabric-chaincode
#fabric-questions
#fabric-endorser
Using the default configuration I can run all the functions inside the application folder of commercial paper on test-network without any problem If I edit the default signature policy in the approval
Using the default configuration I can run all the functions inside the application folder of commercial paper on test-network without any problem If I edit the default signature policy in the approval
|
By
sangieri@...
· #9779
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
I decided to apply a workaround and set as comments the part of the test creating this problem (Will this be a problem?). I just want to see what is coming next. So, the next problem is that adoptopen
I decided to apply a workaround and set as comments the part of the test creating this problem (Will this be a problem?). I just want to see what is coming next. So, the next problem is that adoptopen
|
By
...
· #9753
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
Brett did you find anything about rapsberries? Is there a list for fabric-chaincode-java with people willing to help?
Brett did you find anything about rapsberries? Is there a list for fabric-chaincode-java with people willing to help?
|
By
...
· #9734
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
I can not solve the issue in ./gradlew clean build install: org.hyperledger.fabric.contract.ContractRouterTest > testStartingContractRouterWithStartingAChaincodeServer FAILED java.lang.AssertionError:
I can not solve the issue in ./gradlew clean build install: org.hyperledger.fabric.contract.ContractRouterTest > testStartingContractRouterWithStartingAChaincodeServer FAILED java.lang.AssertionError:
|
By
...
· #9729
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
I changed the grpc version to build.gradle file from 1.23.0 to 1.37.0-SNAPSHOT (latest) which was installed to local mvn repo and I solved the issue.No I have an new one :( | Results: FAILURE (229 tes
I changed the grpc version to build.gradle file from 1.23.0 to 1.37.0-SNAPSHOT (latest) which was installed to local mvn repo and I solved the issue.No I have an new one :( | Results: FAILURE (229 tes
|
By
...
· #9723
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
I have already tried that. The same error.
I have already tried that. The same error.
|
By
...
· #9722
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
I believe you need to add `mavenLocal()` to https://github.com/hyperledger/fabric-chaincode-java/blob/master/fabric-chaincode-protos/build.gradle#L13 like it is mentioned here: https://github.com/hype
I believe you need to add `mavenLocal()` to https://github.com/hyperledger/fabric-chaincode-java/blob/master/fabric-chaincode-protos/build.gradle#L13 like it is mentioned here: https://github.com/hype
|
By
...
· #9717
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
Hello, I have built 1) protobuf 3.12.0 using ../autogen, /configure, make, make check, sudo make install. No problems, the protobuf pack is installed in usr/local/lib 2) export LDFLAGS="-L/usr/local/l
Hello, I have built 1) protobuf 3.12.0 using ../autogen, /configure, make, make check, sudo make install. No problems, the protobuf pack is installed in usr/local/lib 2) export LDFLAGS="-L/usr/local/l
|
By
...
· #9716
·
|
|
Install fabric-chaincode-java to raspberry 4
#fabric-chaincode
#fabric-questions
Hello, any updates on that?
Hello, any updates on that?
|
By
...
· #9694
·
|