|
#fabric-chaincode
#fabric-chaincode
Many people utilize JSON format for assets stored on the ledger, the order items can therefore be a JSON array. Just be careful to utilize deterministic JSON marshaling in your chaincode, as described
Many people utilize JSON format for assets stored on the ledger, the order items can therefore be a JSON array. Just be careful to utilize deterministic JSON marshaling in your chaincode, as described
|
By
David Enyeart
· #10520
·
|
|
#fabric-chaincode
#fabric-chaincode
Hi , I am trying to map assets from Hyperledger composer to Hyperledger fabric V2. In Hyperledger composer, there is model defined in .cto file, where I can have, e.g. asset Order identified by orderN
Hi , I am trying to map assets from Hyperledger composer to Hyperledger fabric V2. In Hyperledger composer, there is model defined in .cto file, where I can have, e.g. asset Order identified by orderN
|
By
pham.qtpham@...
· #10513
·
|
|
Working with bookmarks
#bookmark
#fabric-chaincode
Hi Sumit, Thanks & Regards Kavin Arumugam Mobile: +91 7373 36 86 36 LinkedIn: @karthikkavina
Hi Sumit, Thanks & Regards Kavin Arumugam Mobile: +91 7373 36 86 36 LinkedIn: @karthikkavina
|
By
Kavin Arumugam
· #10496
·
|
|
Working with bookmarks
#bookmark
#fabric-chaincode
Hi, If you want to get the next bookmark then the below code example should work: ``` const temp = await ctx.stub.getStateByRangeWithPagination("", "", pageSize, bookmark); // bookmark to get the next
Hi, If you want to get the next bookmark then the below code example should work: ``` const temp = await ctx.stub.getStateByRangeWithPagination("", "", pageSize, bookmark); // bookmark to get the next
|
By
Pratik Sanjay Patil
· #10494
·
|
|
How to see the mismatched Proposal Responses?
#fabric-chaincode
I'm using the test network (https://github.com/hyperledger/fabric-samples/tree/main/test-network). I found once I perform certain operations and run the following command, Hyperledger throws error ```
I'm using the test network (https://github.com/hyperledger/fabric-samples/tree/main/test-network). I found once I perform certain operations and run the following command, Hyperledger throws error ```
|
By
...
· #10477
·
|
|
Working with bookmarks
#bookmark
#fabric-chaincode
Hi Guys, I am quite new to Fabric, and in a learning stage. I am trying to have some hands on bookmark in pagination. But it is really giving me tough time to get the bookmarks in the results. What i
Hi Guys, I am quite new to Fabric, and in a learning stage. I am trying to have some hands on bookmark in pagination. But it is really giving me tough time to get the bookmarks in the results. What i
|
By
Sumitvedpathak@...
· #10446
·
|
|
what is the lifecycle of a contract?
#fabric-chaincode
As far as I know, a contract is an instance class with the contract annotation. When does the Fabric runtime instantiate the contract class? When does the instance get disposed? From my experience, if
As far as I know, a contract is an instance class with the contract annotation. When does the Fabric runtime instantiate the contract class? When does the instance get disposed? From my experience, if
|
By
...
· #10375
·
|
|
Error while Commit Chaincode (External chaincode)
#fabric-kubernetes
#fabric-chaincode
Your endorsement rule: LifecycleEndorsement: Type: ImplicitMeta Rule: "MAJORITY Endorsement" So, the commit command needs to be submitted to the Majority of peers using --peerAddresses and --tlsRootCe
Your endorsement rule: LifecycleEndorsement: Type: ImplicitMeta Rule: "MAJORITY Endorsement" So, the commit command needs to be submitted to the Majority of peers using --peerAddresses and --tlsRootCe
|
By
David Faulstich Diniz Reis
· #10317
·
|
|
Error while Commit Chaincode (External chaincode)
#fabric-kubernetes
#fabric-chaincode
The error seems to be quite self explanatory. Did you get the approvals from enough orgs (default is majority)? You can look at some helping commands in the docs - https://hyperledger-fabric.readthedo
The error seems to be quite self explanatory. Did you get the approvals from enough orgs (default is majority)? You can look at some helping commands in the docs - https://hyperledger-fabric.readthedo
|
By
Manish
· #10315
·
|
|
Error while Commit Chaincode (External chaincode)
#fabric-kubernetes
#fabric-chaincode
I am running a network with 3 peer orgs with two peers each 1 orderer org with 3 orderers PROBLEM FACED While committing the chaincode getting an error txid [cd5f76fc81ae06b655516f3baab642f7cd580eb1ae
I am running a network with 3 peer orgs with two peers each 1 orderer org with 3 orderers PROBLEM FACED While committing the chaincode getting an error txid [cd5f76fc81ae06b655516f3baab642f7cd580eb1ae
|
By
hiteshdutt05@...
· #10312
·
|
|
Re. Static or Dynamic security and vulnerability scanning tools for smart contracts - Go, Node.js and Java Contract APIs
#fabric-chaincode
This one focuses on Go chaincode: https://github.com/sivachokkapu/revive-cc.
This one focuses on Go chaincode: https://github.com/sivachokkapu/revive-cc.
|
By
Baohua Yang
· #10263
·
|
|
Re. Static or Dynamic security and vulnerability scanning tools for smart contracts - Go, Node.js and Java Contract APIs
#fabric-chaincode
I have used Sonar Qube in the past , but had few results, just some semantic and syntax tips. Regards, Marcos Sarres | CEO | +55 61 98116 7866 De: fabric@... <fabric@...
I have used Sonar Qube in the past , but had few results, just some semantic and syntax tips. Regards, Marcos Sarres | CEO | +55 61 98116 7866 De: fabric@... <fabric@...
|
By
Marcos Sarres
· #10262
·
|
|
Re. Static or Dynamic security and vulnerability scanning tools for smart contracts - Go, Node.js and Java Contract APIs
#fabric-chaincode
Dear team, I am trying to find and put to use - static and/or dynamic security and vulnerability scanning tools for smart contracts - Go, Node.js and Java language Contract APIs with current versions
Dear team, I am trying to find and put to use - static and/or dynamic security and vulnerability scanning tools for smart contracts - Go, Node.js and Java language Contract APIs with current versions
|
By
Bharg Pvr
· #10260
·
|
|
Go chaincode compiler version 1.15? HLF v2.3
#fabric
#fabric-chaincode
#fabric-questions
May I know if HLF supports Go version 1.15? In my chaincode, I uses ecdsa.VerifyASN1 which requires Go v1.15. When I attempt to install it on a peer, it returns with error ./chaincode.go:330:10: undef
May I know if HLF supports Go version 1.15? In my chaincode, I uses ecdsa.VerifyASN1 which requires Go v1.15. When I attempt to install it on a peer, it returns with error ./chaincode.go:330:10: undef
|
By
@secure12
· #10235
·
|
|
new ORG in a seperates machine hyperledger fabric (V2.2)
#organizations
#hyperledger-fabric
#fabric-chaincode
#fabric-questions
#network
Hello, byfn is deprecated in v2.2 in favor of test-network. If you have the VSCode extension for IBM you can run multiple orgs in the IDE by connecting to other nodes on different machines. Hope this
Hello, byfn is deprecated in v2.2 in favor of test-network. If you have the VSCode extension for IBM you can run multiple orgs in the IDE by connecting to other nodes on different machines. Hope this
|
By
...
· #10215
·
|
|
new ORG in a seperates machine hyperledger fabric (V2.2)
#organizations
#hyperledger-fabric
#fabric-chaincode
#fabric-questions
#network
I would like to know how can one do to use the second organization (ORG2) another different machine. and I specify (V: 2.2) because it is completely different from version 1.4 (ORG1) on a machine (ORG
I would like to know how can one do to use the second organization (ORG2) another different machine. and I specify (V: 2.2) because it is completely different from version 1.4 (ORG1) on a machine (ORG
|
By
ilyessv12@...
· #10214
·
|
|
Cross chaincode invoke, ACL policy problem (MSP not defined in called channel, but in caller)
#fabric-chaincode
Hi, Thank you very much for your response. ChaincodeA only makes use of GetState calls, so I'm not modified the ledger. I can't install chaincodeA in channel-2, I need to keep it isolated in another c
Hi, Thank you very much for your response. ChaincodeA only makes use of GetState calls, so I'm not modified the ledger. I can't install chaincodeA in channel-2, I need to keep it isolated in another c
|
By
Sergio C
· #10160
·
|
|
Cross chaincode invoke, ACL policy problem (MSP not defined in called channel, but in caller)
#fabric-chaincode
From what I understand, only "query" (read only) transactions work cross-invoking in different channels. If state is modified by chaincode, then channel has to be same as callers chaincode. In the exa
From what I understand, only "query" (read only) transactions work cross-invoking in different channels. If state is modified by chaincode, then channel has to be same as callers chaincode. In the exa
|
By
satheesh
· #10154
·
|
|
Cross chaincode invoke, ACL policy problem (MSP not defined in called channel, but in caller)
#fabric-chaincode
Hi, Is it possible to cross-invoke a chaincode in other channel (channel-1) (using an identity that isn't part of the channel) from a chaincode in the channel-2 (identity is declared here)? Example: O
Hi, Is it possible to cross-invoke a chaincode in other channel (channel-1) (using an identity that isn't part of the channel) from a chaincode in the channel-2 (identity is declared here)? Example: O
|
By
Sergio C
· #10128
·
|
|
using go routine in the chaincode
#fabric-chaincode
#fabric-questions
It's less about a race and more about consistency. (A race can cause an inconsistency.) Imagine that when you run the contract on peer one, the sequence observed by the ledger is ["data1", "data2"]; o
It's less about a race and more about consistency. (A race can cause an inconsistency.) Imagine that when you run the contract on peer one, the sequence observed by the ledger is ["data1", "data2"]; o
|
By
Matthew Sykes
· #9871
·
|