|
Read write set mismatch error while processing parallel transactions
#fabric-chaincode
#fabric
If two transactions sent by clients in parallel have the same case_no then you will see MVCC read conflicts. Endorsement for both will happen before the ledger is updated and they will both see that
If two transactions sent by clients in parallel have the same case_no then you will see MVCC read conflicts. Endorsement for both will happen before the ledger is updated and they will both see that
|
By
Mark Lewis
· #11301
·
|
|
Read write set mismatch error while processing parallel transactions
#fabric-chaincode
#fabric
Transactions that read or modify ledger keys that are modified by other transactions in parallel will suffer MVCC read conflicts. There are details on how this works in the documentation here: https:/
Transactions that read or modify ledger keys that are modified by other transactions in parallel will suffer MVCC read conflicts. There are details on how this works in the documentation here: https:/
|
By
Mark Lewis
· #11298
·
|
|
Read write set mismatch error while processing parallel transactions
#fabric-chaincode
#fabric
Dear Team, We are submitting 100 transactions in parallel . All transactions are to create new asset . In the chain code , first it is checked if asset already exists . If not then only create transac
Dear Team, We are submitting 100 transactions in parallel . All transactions are to create new asset . In the chain code , first it is checked if asset already exists . If not then only create transac
|
By
Avinash Vijaykumar Pedgaonkar
· #11294
·
|
|
Commit readiness returns false but approvalformyorg returned success
#fabric-chaincode
You are checking the commit readness with a different endorsement policy. The checkcommitreadness needs to be crafted with the same policy signature parameter. Try adding signature-policy ${SIG_POLICY
You are checking the commit readness with a different endorsement policy. The checkcommitreadness needs to be crafted with the same policy signature parameter. Try adding signature-policy ${SIG_POLICY
|
By
David Faulstich Diniz Reis
· #11239
·
|
|
Commit readiness returns false but approvalformyorg returned success
#fabric-chaincode
Hi all, I am executing this command for approving: peer lifecycle chaincode approveformyorg -o ${ORDERER0_URL} --ordererTLSHostnameOverride $ORDERER_ORG --tls true --cafile ${CA_FILE} \ --channelID ${
Hi all, I am executing this command for approving: peer lifecycle chaincode approveformyorg -o ${ORDERER0_URL} --ordererTLSHostnameOverride $ORDERER_ORG --tls true --cafile ${CA_FILE} \ --channelID ${
|
By
jeff.jo95z@...
· #11238
·
|
|
Error committing chaincode to network with 4 orgs
#fabric-chaincode
It appears that you are trying to commit an not approved definition. Check the crafted --name parameter on both commands. The checkcommitreadness is using another name definition: --name material_prov
It appears that you are trying to commit an not approved definition. Check the crafted --name parameter on both commands. The checkcommitreadness is using another name definition: --name material_prov
|
By
David Faulstich Diniz Reis
· #11048
·
|
|
Error committing chaincode to network with 4 orgs
#fabric-chaincode
Hi all, We're trying to deploy our chaincode to the test-network with 4 orgs in it. Following the "Deploy a smart contract to channel" tutorial, we got each org to approve the chaincode definition as
Hi all, We're trying to deploy our chaincode to the test-network with 4 orgs in it. Following the "Deploy a smart contract to channel" tutorial, we got each org to approve the chaincode definition as
|
By
LC
· #11047
·
|
|
How to query JSON data in chain codes stored in couchDB
#fabric-chaincode
Hi All, In my chaincodes, which stored in couchDB, I have a data structure like this: const order = { orderNumber, orderItems: JSON.stringify(OrderItemObj), orderStatus } Where OrderItemObj is , e.g.
Hi All, In my chaincodes, which stored in couchDB, I have a data structure like this: const order = { orderNumber, orderItems: JSON.stringify(OrderItemObj), orderStatus } Where OrderItemObj is , e.g.
|
By
pham.qtpham@...
· #10983
·
|
|
#fabric-chaincode
#fabric-chaincode
If you want to display the results of ledger queries in the browser, you'll need to create a backend component that interacts with Fabric. I suggest studying the REST API sample (https://github.com/hy
If you want to display the results of ledger queries in the browser, you'll need to create a backend component that interacts with Fabric. I suggest studying the REST API sample (https://github.com/hy
|
By
Andrew Coleman
· #10825
·
|
|
#fabric-chaincode
#fabric-chaincode
Hi, How can I query data in blockchain and populate the data in a poplist? E.g. I already have a function allowed me to bind select element with JSON array below: function populateSelect() { // THE JS
Hi, How can I query data in blockchain and populate the data in a poplist? E.g. I already have a function allowed me to bind select element with JSON array below: function populateSelect() { // THE JS
|
By
pham.qtpham@...
· #10819
·
|
|
#fabric-chaincode
#fabric-chaincode
orderer.trade.com DNS maybe misconfigured. Why you are overriding tls hostname using the same hostname? Em ter., 4 de jan. de 2022 06:58, <pham.qtpham@...> escreveu:
orderer.trade.com DNS maybe misconfigured. Why you are overriding tls hostname using the same hostname? Em ter., 4 de jan. de 2022 06:58, <pham.qtpham@...> escreveu:
|
By
David Faulstich Diniz Reis
· #10765
·
|
|
#fabric-chaincode
#fabric-chaincode
Hi, I have error when doing approving chaincode definition for orgs. The error in the log file is: approve Approving chaincode definition for orgs... + peer lifecycle chaincode approveformyorg --connT
Hi, I have error when doing approving chaincode definition for orgs. The error in the log file is: approve Approving chaincode definition for orgs... + peer lifecycle chaincode approveformyorg --connT
|
By
pham.qtpham@...
· #10764
·
|
|
Chaincode queries with couchDB
#fabric-chaincode
The normal CouchDB query syntax is used in Fabric, please see the CouchDB query reference at https://docs.couchdb.org/en/3.1.1/api/database/find.html. Dave Enyeart pham.qtpham---12/19/2021 05:18:34 AM
The normal CouchDB query syntax is used in Fabric, please see the CouchDB query reference at https://docs.couchdb.org/en/3.1.1/api/database/find.html. Dave Enyeart pham.qtpham---12/19/2021 05:18:34 AM
|
By
David Enyeart
· #10730
·
|
|
Chaincode queries with couchDB
#fabric-chaincode
Hi, I followed the doc (https://hyperledger-fabric.readthedocs.io/en/latest/couchdb_as_state_database.html ) to create index as below: { "index": { "fields": ["ownerName", "paymentAmountDue"] }, "ddoc
Hi, I followed the doc (https://hyperledger-fabric.readthedocs.io/en/latest/couchdb_as_state_database.html ) to create index as below: { "index": { "fields": ["ownerName", "paymentAmountDue"] }, "ddoc
|
By
pham.qtpham@...
· #10718
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Thank you guys so much, it's really helpful!
Thank you guys so much, it's really helpful!
|
By
BigBang019
· #10714
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Hi! The chaincode has a unique identifier in the network when it is running. If a chaincode calls itself (another function) using invokeChaincode method, an error will occur. You have to call the func
Hi! The chaincode has a unique identifier in the network when it is running. If a chaincode calls itself (another function) using invokeChaincode method, an error will occur. You have to call the func
|
By
David Faulstich Diniz Reis
· #10709
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Thanks for your attention: https://github.com/hyperledger/fabric-chaincode-java/issues/218
Thanks for your attention: https://github.com/hyperledger/fabric-chaincode-java/issues/218
|
By
BigBang019
· #10708
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Hello; Can I suggest that you raise an issue on the github hyperledger/fabric-chaincode-java repo? Though to check that you can call `helloworld()` directly from `invokeChaincode` without having to ca
Hello; Can I suggest that you raise an issue on the github hyperledger/fabric-chaincode-java repo? Though to check that you can call `helloworld()` directly from `invokeChaincode` without having to ca
|
By
Matthew White
· #10707
·
|
|
Question about invokeChaincode api
#fabric-chaincode
Environment: fabric release-2.2 My chaincode named vulnerable is as follows: When I invoke helloworld directly, it gives me responce "helloworld", everything works fine. But when I invoke invokeChainc
Environment: fabric release-2.2 My chaincode named vulnerable is as follows: When I invoke helloworld directly, it gives me responce "helloworld", everything works fine. But when I invoke invokeChainc
|
By
BigBang019
· #10706
·
|
|
How to get the public key of a client inside the chaincode ?
#signcerts
#fabric-chaincode
Thank you.
By
K Sanjay Kumar
· #10686
·
|