You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Hyperledger Fabric (HLF) v3.0.0 to create a blockchain network. I formed the network with two organizations (with a peer in each organization) and an orderer. Since there is no need for a system channel in HLF v3.0.0, I created a genesis block for the application channel (named ukchannel), and the orderer was joined to this channel with the osnadmin command. Then, the other two organizations were joined to this channel. Here are the steps I followed:
I changed the environment variable for Org1 and Org2 and run the command
9- peer channel join -b ./channel-artifacts/ukchannel.block
for both. Then checked them with the command
peer channel list
the output says they joined the channel also.
After this point, when I started the Hyperledger Explorer and checked the network, I saw that only the node count was written as 2 (for the two organizations). The transactions and blocks counts were shown as 0. The orderer was not included in the node count either. What could be the reason why the orderer, transactions and blocks are not seen when it sees the two organizations? Am I making a mistake with authorization? You can see the files related to the explorer below.
I also packaged, installed, approved and commited a chaincode. I can query the chain code although it does not appear on Explorer. Sorry if I gave to many details. I have been dealing with this problem for days and want to get rid of this problem. I can add further details if you need.
What did you expect to happen?
I expected to see the correct number of nodes, transactions, chaincode(s) etc., on Hyperledger Explorer.
How can we reproduce it (as minimally and precisely as possible)?
Hyperledger Explorer should be tested on Hyperledger Fabric v3.0+ for compatibility.
Anything else we need to know?
No response
OS version
# On Linux:
$ cat /etc/os-releasePRETTY_NAME="Ubuntu 22.04.5 LTS"NAME="Ubuntu"VERSION_ID="22.04"VERSION="22.04.5 LTS (Jammy Jellyfish)"VERSION_CODENAME=jammyID=ubuntuID_LIKE=debianHOME_URL="https://www.ubuntu.com/"SUPPORT_URL="https://help.ubuntu.com/"BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"UBUNTU_CODENAME=jammy
$ uname -aLinux umit 5.15.0-124-generic #134-Ubuntu SMP Fri Sep 27 20:20:17 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
# On Windows:C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
The text was updated successfully, but these errors were encountered:
[2024-11-21T12:02:03.592] [ERROR] Sync - Error: error in simulation: failed to execute transaction d00a5575f86467db94ce1ba5e0dec11f0e837fd23b41c0ccc526128ee7c0a93e: could not launch chaincode lscc.syscc: error building chaincode: error building image: failed to get chaincode package for external build: could not get legacy chaincode package 'lscc.syscc': open /var/hyperledger/production/chaincodes/lscc.syscc: no such file or directory
What happened?
I'm using Hyperledger Fabric (HLF) v3.0.0 to create a blockchain network. I formed the network with two organizations (with a peer in each organization) and an orderer. Since there is no need for a system channel in HLF v3.0.0, I created a genesis block for the application channel (named ukchannel), and the orderer was joined to this channel with the
osnadmin
command. Then, the other two organizations were joined to this channel. Here are the steps I followed:When I checked whether the orderer joined the channel:
osnadmin channel list -o localhost:7080 --ca-file ./crypto-material/ordererOrganizations/uk.com/orderers/orderer0.uk.com/tls/ca.crt --client-cert ./crypto-material/ordererOrganizations/uk.com/users/Admin\@uk.com/tls/client.crt --client-key ./crypto-material/ordererOrganizations/uk.com/users/Admin\@uk.com/tls/client.key
The output says it joined:
I changed the environment variable for Org1 and Org2 and run the command
9- peer channel join -b ./channel-artifacts/ukchannel.block
for both. Then checked them with the command
peer channel list
the output says they joined the channel also.
After this point, when I started the Hyperledger Explorer and checked the network, I saw that only the node count was written as 2 (for the two organizations). The transactions and blocks counts were shown as 0. The orderer was not included in the node count either. What could be the reason why the orderer, transactions and blocks are not seen when it sees the two organizations? Am I making a mistake with authorization? You can see the files related to the explorer below.
./docker-compose.yaml (for explorer):
./config.json:
./connection-profile/test-network.json:
./startExplorer.sh:
Here is the HL Explorer screenshot. You can see it shows the channel and two nodes:
https://i.sstatic.net/T5YB3QJj.png
I also packaged, installed, approved and commited a chaincode. I can query the chain code although it does not appear on Explorer. Sorry if I gave to many details. I have been dealing with this problem for days and want to get rid of this problem. I can add further details if you need.
What did you expect to happen?
I expected to see the correct number of nodes, transactions, chaincode(s) etc., on Hyperledger Explorer.
How can we reproduce it (as minimally and precisely as possible)?
Hyperledger Explorer should be tested on Hyperledger Fabric v3.0+ for compatibility.
Anything else we need to know?
No response
OS version
The text was updated successfully, but these errors were encountered: