|
Re: Testing nodejs smart contracts without deploying to a network
Using Jest is very good option, you can easily mocking the context object of contract-api, something like.
const ctx: any = {
stub: {
createCompositeKey: jest.fn(),
deleteState: jest.fn(),
Using Jest is very good option, you can easily mocking the context object of contract-api, something like.
const ctx: any = {
stub: {
createCompositeKey: jest.fn(),
deleteState: jest.fn(),
|
By
Ross Tang <tangross@...>
·
#7083
·
|
|
Testing nodejs smart contracts without deploying to a network
What is the best way to test smart contracts written in nodejs using thefabric-contract-api and without having to deploy to a running network? https://github.com/wearetheledger/fabric-mock-stub seems
What is the best way to test smart contracts written in nodejs using thefabric-contract-api and without having to deploy to a running network? https://github.com/wearetheledger/fabric-mock-stub seems
|
By
Siddharth Jain
·
#7082
·
|
|
Re: CA Keys
Out of band (ssh, scp etc) or via curl/wget http to a non-fabric public CA (e.g. letsencrypt) identified https endpoint.
On 10/29/2019 6:22 AM, Trevor Lee Oakley wrote:
Out of band (ssh, scp etc) or via curl/wget http to a non-fabric public CA (e.g. letsencrypt) identified https endpoint.
On 10/29/2019 6:22 AM, Trevor Lee Oakley wrote:
|
By
Nye Liu <nye@...>
·
#7081
·
|
|
Attribute 'abac.init' was not found
#fabric
#fabricca
#fabric-ca
#fabric-chaincode
#fabric-questions
Hi all,
While Instantiating the chaincode I am getting following Error
2019-10-29 13:14:40.559 UTC [msp.identity] Sign -> DEBU 04a Sign: plaintext:
Hi all,
While Instantiating the chaincode I am getting following Error
2019-10-29 13:14:40.559 UTC [msp.identity] Sign -> DEBU 04a Sign: plaintext:
|
By
suresh <tedlasuresh@...>
·
#7080
·
|
|
CA Keys
If keys are generated by the CA then what is the best way to distribute these keys?
Thanks
Trevor
If keys are generated by the CA then what is the best way to distribute these keys?
Thanks
Trevor
|
By
Trevor Lee Oakley <trevor@...>
·
#7079
·
|
|
Regarding Fabric Raft Ordering Service
#raft
#tsc-project-update
I'm able to create the channel. But while joining the channel, I'm getting the error given below:
[2019-10-24 09:34:38.049] [DEBUG] Join-Channel - Join Channel R E S P O N S E : [ [ { "status": 500,
I'm able to create the channel. But while joining the channel, I'm getting the error given below:
[2019-10-24 09:34:38.049] [DEBUG] Join-Channel - Join Channel R E S P O N S E : [ [ { "status": 500,
|
By
Akshay Soni
·
#7078
·
|
|
Re: Persisting world state
Check out my article: https://medium.com/coinmonks/demystifying-hyperledger-fabric-1-3-fabric-architecture-a2fdb587f6cb#4573--
Best Regards,
Phuwanai Thummavet
Blockchain Architect and Full-Stack
Check out my article: https://medium.com/coinmonks/demystifying-hyperledger-fabric-1-3-fabric-architecture-a2fdb587f6cb#4573--
Best Regards,
Phuwanai Thummavet
Blockchain Architect and Full-Stack
|
By
Mr.Phuwanai Thummavet
·
#7077
·
|
|
Re: Persisting world state
https://hyperledger-fabric.readthedocs.io/en/release-1.4/gossip.html
Ben Taylor, CEO
LedgerDomain
212.332.4466
https://hyperledger-fabric.readthedocs.io/en/release-1.4/gossip.html
Ben Taylor, CEO
LedgerDomain
212.332.4466
|
By
Ben Taylor
·
#7076
·
|
|
Persisting world state
Hello Everyone,
I have some confusions regarding how state ledgers are persisted across multiple ledgers. I have an intuition that every org's peers have a copy of the ledger from where they generate
Hello Everyone,
I have some confusions regarding how state ledgers are persisted across multiple ledgers. I have an intuition that every org's peers have a copy of the ledger from where they generate
|
By
Abhijeet Bhowmik <abhijeet@...>
·
#7075
·
|
|
Next Hyperledger Fabric Application Developer Community call - Thursday Oct 31st @ 4pm UTC (4pm UK, 11am ET, 8am PT)
dear Fabric ApplicationDeveloper,
the next FabricApplication Developer community call is scheduled for this ThursdayOct 31st @ 4pm UTC (4pm UK, 11am ET, 8am PT) . It lasts approx 30-60 mins FYI.
dear Fabric ApplicationDeveloper,
the next FabricApplication Developer community call is scheduled for this ThursdayOct 31st @ 4pm UTC (4pm UK, 11am ET, 8am PT) . It lasts approx 30-60 mins FYI.
|
By
Paul O'Mahoney <mahoney@...>
·
#7074
·
|
|
Re: Hyperledger Fabric release v2.0 update
Hi Dave,
One quick question, does the support for " external chaincode " include support to run chaincode as a remote grpc server?
Hu Xiang Dong (胡香冬)
IBM Blockchain Platform
Hi Dave,
One quick question, does the support for " external chaincode " include support to run chaincode as a remote grpc server?
Hu Xiang Dong (胡香冬)
IBM Blockchain Platform
|
By
Xiang Dong Hu <huxd@...>
·
#7073
·
|
|
Re: Major security hole in Hyperledger Fabric - Private Data is not private
#fabric-chaincode
#ssl
#fabric
#fabric-questions
#fabric-dstorage
Hi jeroiraz
Oct:
:
there are actually quite a few ways to validate anything including national ID using ZKP or ZKP like technique (e.g. I can design my crypto to validate if the two text data
Hi jeroiraz
Oct:
:
there are actually quite a few ways to validate anything including national ID using ZKP or ZKP like technique (e.g. I can design my crypto to validate if the two text data
|
By
Ivan Ch <acizlan@...>
·
#7072
·
|
|
Re: failed to invoke chaincode name:"lscc" , error: container exited with 254
#fabric-chaincode
#fabric-questions
Hey,
I've had this problem before. What I did to solve it and seems bizarre is I created a new file and just simply copied and pasted the entire chaincode to the new file and used that.
Hey,
I've had this problem before. What I did to solve it and seems bizarre is I created a new file and just simply copied and pasted the entire chaincode to the new file and used that.
|
By
Nicholas Leonardi
·
#7071
·
|
|
failed to invoke chaincode name:"lscc" , error: container exited with 254
#fabric-chaincode
#fabric-questions
I am writing a chaincode in Typescript and trying to deploy on to a Custom Network with an orderer, one Peer with Couch DB and a CA.
When i deploy the chaincode on to the peer , the following
I am writing a chaincode in Typescript and trying to deploy on to a Custom Network with an orderer, one Peer with Couch DB and a CA.
When i deploy the chaincode on to the peer , the following
|
By
praviteja@...
·
#7070
·
|
|
Re: Not able to find Go in fabric-orderer container
Hey Siddharth,
If you're trying to debug the peer binary, I would recommend eschewing the docker containers entirely and just running the peer binary directly on your computer, and using the standard
Hey Siddharth,
If you're trying to debug the peer binary, I would recommend eschewing the docker containers entirely and just running the peer binary directly on your computer, and using the standard
|
By
Alexandre Pauwels
·
#7069
·
|
|
Re: Not able to find Go in fabric-orderer container
Go does exist in the parent docker image of the orderer i.e., hyperledger/fabric-baseimage
root@2c068c753e05:/# find . -name
Go does exist in the parent docker image of the orderer i.e., hyperledger/fabric-baseimage
root@2c068c753e05:/# find . -name
|
By
Siddharth Jain
·
#7068
·
|
|
Re: Not able to find Go in fabric-orderer container
The go binary is not needed in that container, it is only needed to build it.
You misapprehend what the go image is used for.
On 10/25/2019 2:01 PM, Siddharth
The go binary is not needed in that container, it is only needed to build it.
You misapprehend what the go image is used for.
On 10/25/2019 2:01 PM, Siddharth
|
By
Nye Liu <nye@...>
·
#7067
·
|
|
Re: Not able to find Go in fabric-orderer container
root@c754367ff2ba:/home# go
bash: go: command not found
root@c754367ff2ba:/home# ls /usr/bin/go
ls: cannot access '/usr/bin/go': No such file or directory
root@c754367ff2ba:/home# ls
root@c754367ff2ba:/home# go
bash: go: command not found
root@c754367ff2ba:/home# ls /usr/bin/go
ls: cannot access '/usr/bin/go': No such file or directory
root@c754367ff2ba:/home# ls
|
By
Siddharth Jain
·
#7066
·
|
|
Re: Not able to find Go in fabric-orderer container
/usr/bin/go, /usr/local/bin/go, and /usr/lib/go-x.xx/bin/go are all more likely than /usr/local/go
/usr/bin/go, /usr/local/bin/go, and /usr/lib/go-x.xx/bin/go are all more likely than /usr/local/go
|
By
Nye Liu <nye@...>
·
#7065
·
|
|
Not able to find Go in fabric-orderer container
I logged into a fabric-orderer:1.4.3 container and cannot find Go in it.
root@c754367ff2ba:/home# echo $GOPATH
root@c754367ff2ba:/home# ls /go
ls: cannot access '/go': No such file or
I logged into a fabric-orderer:1.4.3 container and cannot find Go in it.
root@c754367ff2ba:/home# echo $GOPATH
root@c754367ff2ba:/home# ls /go
ls: cannot access '/go': No such file or
|
By
Siddharth Jain
·
#7064
·
|