In fabric v1.4, contract function params are all strings, but in fabric v2.2, different type of prototype in function params are available. So I wonder:
- how fabric deserialize the transaction payload? For example, if the second function argument is int32, how fabric know the second one is int32?
I failed to find any relevant logic in fabric source code(v2.2).
Thanks in advance.
const ( | |
GetChainInfo string = "GetChainInfo" | |
GetBlockByNumber string = "GetBlockByNumber" | |
GetBlockByHash string = "GetBlockByHash" | |
GetTransactionByID string = "GetTransactionByID" | |
GetBlockByTxID string = "GetBlockByTxID" | |
) |
- https://hyperledger.github.io/fabric-sdk-node/release-2.2/global.html#ProcessedTransaction__anchor;
- https://hyperledger.github.io/fabric-sdk-node/release-2.2/global.html#Transaction;
- https://hyperledger.github.io/fabric-sdk-node/release-2.2/BlockDecoder.html#.decodeTransaction__anchor;
- https://raw.githubusercontent.com/hyperledger/fabric-sdk-node/main/fabric-protos/types/index.d.ts;
- https://github.com/hyperledger/fabric-sdk-node/blob/main/fabric-common/lib/BlockDecoder.js;
- https://github.com/hyperledger/blockchain-explorer/blob/main/app/platform/fabric/gateway/FabricGateway.ts (And other sources as well);
Sorry, I would like to add another question to this. Are there any way to get a transaction/block from an asset value/id? If so, how?
Thank you in advance.
StAv
Hello!
I wanted to create an easy-to-start local environment for my hyperledger-fabric network, so I created a script that only kills the network containers (all configuration, transaction and cert files remain) and then another script that re-starts the containers. When I restart them, I have to rejoin the organization peers to the channel, and I believe I should also update the anchor peers again for each organization.
I managed to rejoin the organization peers to the channel with little effort, but I'm getting an error when trying to update the Anchor Peers.
The error: Error: got unexpected status: BAD_REQUEST -- Consortium config value missing
That error pops up right after trying to update the anchor peers on the channel with the following command:+ peer channel update -o localhost:7050 --ordererTLSHostnameOverride orderer.com -c prescriptionschannel -f ./channel-artifacts/MedicOrgMSPanchors.tx --tls --cafile /var/www/psh/medical-chain/medchain-network/organizations/ordererOrganizations/orderer.com/orderers/orderer.com/msp/tlscacerts/tlsca.orderer.com-cert.pemresulting error code => 1Thank you in advance!
Hello all,
I've been researching this topic for a minute, and found many unanswered questions. I'm trying to implement a custom organizational unit to make use of it in my policies, but according to the documentation at:
https://hyperledger-fabric.readthedocs.io/en/release-1.4/policies.html#msp-principals
"The ORGANIZATIONAL_UNIT
is at the time of this writing not implemented."
This statement is there since 1.x versions until the latest, even though I've seen some discussions here and there on how to successfully add a new Organizational Unit.
So my question is, is it implemented or not?
Just to know if the problems I'm facing are a result of my doing, or because the functionality is not yet supported.
Thanks
I can run and test my Smart Contract manually using command like this without any error:
peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls true --cafile /Users/phamquoctrung/PLN.V1.5/pharma-ledger-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -C plnchannel -n pharmaLedgerContract --peerAddresses localhost:7051 --tlsRootCertFiles /Users/phamquoctrung/PLN.V1.5/pharma-ledger-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt --peerAddresses localhost:9051 --tlsRootCertFiles /Users/phamquoctrung/PLN.V1.5/pharma-ledger-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/ca.crt --peerAddresses localhost:11051 --tlsRootCertFiles /Users/phamquoctrung/PLN.V1.5/pharma-ledger-network/organizations/peerOrganizations/org3.example.com/peers/peer0.org3.example.com/tls/ca.crt -c '{"function":"makeOrder","Args":["100", "Test"]}'
But when using SDK (node) to deploy, there is error when calling function in JavaScript, e.g.:
const response = await contract.submitTransaction('makeOrder', orderNumber, ownerName);
How to troubleshoot the error in fabric-sdk-node ?
Thx in advance.
org3), also there is one more organization with 2 orderers (org 4). Can
these 4 orgs belong to 10 different channels with different chaincode
for each channel?
the data from the other channel). Correct? (this is not an issue for my
application)
ii) The peers will have to keep the ledger of each channel. Is this bad?
I understand that this increase the memory needs of the peers
iii) Can the same org1's client application (based on the gateway sdk
api) used for transactions in all of the channels? (given that the user
of the client i.e Isabella can invoke transactions i.e in all chaincodes
there is something like getMSPID() equals "org1".)
wallet,
identity: 'Org1 Admin',
discovery: { enabled: true, asLocalhost: true },
queryHandlerOptions: {
timeout: 10, // timeout in seconds
strategy: createQueryHandler,
},
};
// given to peers within the same organization.
import { QueryHandler, QueryHandlerFactory, Query, QueryResults } from 'fabric-network';
import { Endorser } from 'fabric-common';
import * as util from 'util';
/**
* Query handler implementation
*/
class SameOrgQueryHandler implements QueryHandler {
private readonly peers: Endorser[];
constructor(peers: Endorser[]) {
this.peers = peers;
}
public async evaluate(query: Query): Promise<Buffer> {
const errorMessages: string[] = [];
for (const peer of this.peers) {
const results: QueryResults = await query.evaluate([peer]);
const result = results[peer.name];
if (result instanceof Error) {
errorMessages.push(result.toString());
} else {
if (result.isEndorsed) {
console.log(`QueryHandler: ${result.payload}`);
return result.payload;
}
throw new Error(result.message);
}
}
const message = util.format('Query failed. Errors: %j', errorMessages);
throw new Error(message);
}
}
/**
* Factory function for creating sample query handlers.
* @param {Network} network The network where transactions are to be evaluated.
* @returns {QueryHandler} A query handler implementation.
*/
export const createQueryHandler: QueryHandlerFactory = network => {
const mspId = network.getGateway().getIdentity().mspId;
//const mspIdOrg2 = 'Org2MSP';
const channel = network.getChannel();
const orgPeers = channel.getEndorsers(mspId);
const otherPeers = channel.getEndorsers().filter(peer => !orgPeers.includes(peer));
const allPeers = orgPeers.concat(otherPeers);
return new SameOrgQueryHandler(allPeers);
};
iv) Is this scalable? How many channels can maintained by the same org?
v) How easy it to create a new channel and add these orgs each time is
needed? (live without affecting the other channels or the operation of
the orgs i.e peers). The only difference will be the chaincode. The
policies of the channel will remain the same
// Get the network (channel) our contract is deployed to.
const network = await gateway.getNetwork('mychannel');
PS2: Should the structure of the network (i.e number of channels) to be defined from the start? How easy is to extend the network using the same orgs?
Hello, due to the fact that I didn't get any response, I will be more specific.
My idea is to have N orgs which will participate (with all of there peers) in a new channel each time there is a request. The new channel will have a different chainode but the policies will remain the same. Ideally, I would like to achieve two things:
1) To use only one gateway client application (belonging to one of these N orgs) in order to have read and write access and read & update the ledger of each channel based on chaincodes. Can I do that? If yes, how I define inside the client in which channel do I want to invoke the transaction?
2) To make some simple management operation using the low level SDK. Such as operations are: i) create channel, ii) join the peers of orgs to the new channel, iii) delete channel (and remove the ledger from peers), iv)update chaincode of the channel. In the same ways are previous can I do that from one low level SDK client (which will operate as admin of the network)?
PS1: As I have seen I can join only a part of the totals peers of the org to the channel. What can I gain doing that?
PS2: Should the structure of the network (i.e number of channels) to be defined from the start? How easy is to extend the network using the same orgs?
Any advice is welcome!
Yep.
All CORE_VM_ENDPOINT’s needed to be unix:///var/run/docker.sockand all the peer volumes needed to be /var/run/docker.sock:/var/run/docker.sock
Sent: Thursday, November 4, 2021 11:55 AM
To: Belk, Taylor <Taylor.Belk@...>
Cc: J K <jsjkj434@...>; gqqnb2005@...; fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Taylor - Can you share you solution so others may learn who have the same problem in the future? Thanks!
On Nov 4, 2021, at 11:37 AM, Belk, Taylor <taylor.belk@...> wrote:
I’ve figured it out now thanks
From: J K <jsjkj434@...>
Sent: Thursday, November 4, 2021 11:37 AM
To: gqqnb2005@...; Belk, Taylor <Taylor.Belk@...>
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
In that case you may try to run a VM on your windows machine and use ubuntu or any linux flavours inside of your virtualbox.
Cheers.
On Wednesday, 3 November, 2021, 09:58:39 pm IST, Belk, Taylor <taylor.belk@...> wrote:
Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.
From: fabric@... <fabric@...> On Behalf Of gqqnb2005 via lists.hyperledger.org
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
It looks like a docker issue.
I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.
Could you try on Ubuntu (Linux) and/or Java/Go?
On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:
Hello,
I am having issues with the tutorial, hoping you can help me out.
I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channel
I have tried just running
./network.sh deployCC
I’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Both of which give this error:
<image001.png>
I am unable to find ANYTHING helpful for WINDOWS 10.
As you can see below I have installed all the pre-requisites:
<image002.png>
Please help as soon as possible.
Taylor Belk
Consultant
717 Texas Ave, Suite 1600 | Houston, TX 77002
M: 832-425-0496
<image003.png> <image004.png> <image005.png> <image006.png> <image007.png>
<image008.png>
On Nov 4, 2021, at 11:37 AM, Belk, Taylor <taylor.belk@...> wrote:I’ve figured it out now thanksFrom: J K <jsjkj434@...>
Sent: Thursday, November 4, 2021 11:37 AM
To: gqqnb2005@...; Belk, Taylor <Taylor.Belk@...>
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorialCaution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.In that case you may try to run a VM on your windows machine and use ubuntu or any linux flavours inside of your virtualbox.Cheers.On Wednesday, 3 November, 2021, 09:58:39 pm IST, Belk, Taylor <taylor.belk@...> wrote:Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.
From: fabric@... <fabric@...> On Behalf Of gqqnb2005 via lists.hyperledger.org
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
It looks like a docker issue.
I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.
Could you try on Ubuntu (Linux) and/or Java/Go?
On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:
Hello,
I am having issues with the tutorial, hoping you can help me out.
I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channel
I have tried just running
./network.sh deployCC
I’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Both of which give this error:
<image001.png>
I am unable to find ANYTHING helpful for WINDOWS 10.
As you can see below I have installed all the pre-requisites:
<image002.png>
Please help as soon as possible.
Taylor Belk
Consultant
717 Texas Ave, Suite 1600 | Houston, TX 77002
M: 832-425-0496
<image003.png> <image004.png> <image005.png> <image006.png> <image007.png>
<image008.png>
I’ve figured it out now thanks
Sent: Thursday, November 4, 2021 11:37 AM
To: gqqnb2005@...; Belk, Taylor <Taylor.Belk@...>
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
In that case you may try to run a VM on your windows machine and use ubuntu or any linux flavours inside of your virtualbox.
Cheers.
On Wednesday, 3 November, 2021, 09:58:39 pm IST, Belk, Taylor <taylor.belk@...> wrote:
Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.
From:
fabric@... <fabric@...>
On Behalf Of gqqnb2005 via lists.hyperledger.org
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
It looks like a docker issue.
I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.
Could you try on Ubuntu (Linux) and/or Java/Go?
On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:
Hello,
I am having issues with the tutorial, hoping you can help me out.
I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channel
I have tried just running
./network.sh deployCC
I’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Both of which give this error:
I am unable to find ANYTHING helpful for WINDOWS 10.
As you can see below I have installed all the pre-requisites:
Please help as soon as possible.
Taylor Belk
Consultant
717 Texas Ave, Suite 1600 | Houston, TX 77002
M: 832-425-0496
Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
It looks like a docker issue.
I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.
Could you try on Ubuntu (Linux) and/or Java/Go?
On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:
Hello,
I am having issues with the tutorial, hoping you can help me out.
I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channel
I have tried just running
./network.sh deployCC
I’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Both of which give this error:
I am unable to find ANYTHING helpful for WINDOWS 10.
As you can see below I have installed all the pre-requisites:
Please help as soon as possible.
Taylor Belk
Consultant
717 Texas Ave, Suite 1600 | Houston, TX 77002
M: 832-425-0496
My idea is to have N orgs which will participate (with all of there peers) in a new channel each time there is a request. The new channel will have a different chainode but the policies will remain the same. Ideally, I would like to achieve two things:
1) To use only one gateway client application (belonging to one of these N orgs) in order to have read and write access and read & update the ledger of each channel based on chaincodes. Can I do that? If yes, how I define inside the client in which channel do I want to invoke the transaction?
2) To make some simple management operation using the low level SDK. Such as operations are: i) create channel, ii) join the peers of orgs to the new channel, iii) delete channel (and remove the ledger from peers), iv)update chaincode of the channel. In the same ways are previous can I do that from one low level SDK client (which will operate as admin of the network)?
PS1: As I have seen I can join only a part of the totals peers of the org to the channel. What can I gain doing that?
PS2: Should the structure of the network (i.e number of channels) to be defined from the start? How easy is to extend the network using the same orgs?
Any advice is welcome!
RUNNING=`ps aux | grep dockerd | grep -v grep`
if [ -z "$RUNNING" ]; then
sudo dockerd > /dev/null 2>&1 &
disown
fi
- Dave
----- Original message -----
From: "Belk, Taylor" <taylor.belk@...>
Sent by: fabric@...
To: "gqqnb2005@..." <gqqnb2005@...>
Cc: "fabric@..." <fabric@...>
Subject: [EXTERNAL] Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Date: Wed, Nov 3, 2021 4:28 PM
Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility. From: fabric@... <fabric@...> On Behalf Of gqqnb2005 via lists.hyperledger.org ZjQcmQRYFpfptBannerStartZjQcmQRYFpfptBannerEndThis Message Is From an External SenderThis message came from outside your organization.
Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.
From: fabric@... <fabric@...> On Behalf Of gqqnb2005 via lists.hyperledger.org
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
It looks like a docker issue.
I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.
Could you try on Ubuntu (Linux) and/or Java/Go?
On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:
Hello,
I am having issues with the tutorial, hoping you can help me out.
I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channel
I have tried just running
./network.sh deployCC
I’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Both of which give this error:
I am unable to find ANYTHING helpful for WINDOWS 10.
As you can see below I have installed all the pre-requisites:
Please help as soon as possible.
Taylor Belk
Consultant
717 Texas Ave, Suite 1600 | Houston, TX 77002
M: 832-425-0496
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
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 here:
https://hyperledger-fabric.readthedocs.io/en/latest/chaincode4ade.html#json-determinism
Dave Enyeartpham.qtpham---11/03/2021 08:04:04 AM---Hi , I am trying to map assets from Hyperledger composer to Hyperledger fabric V2. In Hyperledger co
From: pham.qtpham@...
To: fabric@...
Date: 11/03/2021 08:04 AM
Subject: [EXTERNAL] [Hyperledger Fabric] #fabric-chaincode
Sent by: fabric@...
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 orderNumber { o String orderNumber ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
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 orderNumber {
o String orderNumber
o String[] items
}
So the Order has items as an array. How can I achieve this in Hyperledger fabric V2 ?
Thx in advance.
Trung
Hello!
I wanted to create an easy-to-start local environment for my hyperledger-fabric network, so I created a script that only kills the network containers (all configuration, transaction and cert files remain) and then another script that re-starts the containers. When I restart them, I have to rejoin the organization peers to the channel, and I believe I should also update the anchor peers again for each organization.
I managed to rejoin the organization peers to the channel with little effort, but I'm getting an error when trying to update the Anchor Peers.
The error: Error: got unexpected status: BAD_REQUEST -- Consortium config value missing
Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.
From: fabric@... <fabric@...> On Behalf Of gqqnb2005 via lists.hyperledger.org
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
It looks like a docker issue.
I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.
Could you try on Ubuntu (Linux) and/or Java/Go?
On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:
Hello,
I am having issues with the tutorial, hoping you can help me out.
I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channel
I have tried just running
./network.sh deployCC
I’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Both of which give this error:
I am unable to find ANYTHING helpful for WINDOWS 10.
As you can see below I have installed all the pre-requisites:
Please help as soon as possible.
Taylor Belk
Consultant
717 Texas Ave, Suite 1600 | Houston, TX 77002
M: 832-425-0496
On Nov 3, 2021, at 11:28 AM, Belk, Taylor <taylor.belk@...> wrote:Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.From: fabric@... <fabric@...> On Behalf Of gqqnb2005 via lists.hyperledger.org
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorialCaution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.It looks like a docker issue.I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.Could you try on Ubuntu (Linux) and/or Java/Go?On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:Hello,I am having issues with the tutorial, hoping you can help me out.I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channelI have tried just running
./network.sh deployCCI’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl goBoth of which give this error:
<image001.png>I am unable to find ANYTHING helpful for WINDOWS 10.As you can see below I have installed all the pre-requisites:
<image002.png>Please help as soon as possible.Taylor BelkConsultant717 Texas Ave, Suite 1600 | Houston, TX 77002M: 832-425-0496<image003.png> <image004.png> <image005.png> <image006.png> <image007.png>
<image008.png>
Yea the problem with that is that our company does not support Linux so I don’t see that as a possibility.
Sent: Wednesday, November 3, 2021 11:26 AM
Cc: fabric@...
Subject: Re: [Hyperledger Fabric] Issues with Using the Fabric test network tutorial
Caution: This email originated from outside Capco. Do not click links or open attachments unless you recognize the sender and know the content is safe.
It looks like a docker issue.
I have been using the test network on Ubuntu many times and have built Java and Go chaincodes.
Could you try on Ubuntu (Linux) and/or Java/Go?
On Wed, Nov 3, 2021 at 11:01 AM Belk, Taylor <Taylor.Belk@...> wrote:
Hello,
I am having issues with the tutorial, hoping you can help me out.
I am able to get through these sections:
Bring up the test network
The components of the test network
Creating a channel
just fine. I run into an issue here:
Starting a chaincode on the channel
I have tried just running
./network.sh deployCC
I’ve also tried running:
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-javascript -ccl javascriptAND
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go -ccl go
Both of which give this error:
I am unable to find ANYTHING helpful for WINDOWS 10.
As you can see below I have installed all the pre-requisites:
Please help as soon as possible.
Taylor Belk
Consultant
717 Texas Ave, Suite 1600 | Houston, TX 77002
M: 832-425-0496