Git Product home page Git Product logo

Comments (19)

ldesrosi avatar ldesrosi commented on July 17, 2024 1

Hi @sravanmutya . Apologies for the delay in getting back to you. I've been busy and I had to reset my env for the book.

When you say:
"Could this be because I do not have the right dependencies installed to get the Typescript contract up and running?"
Did you install Typescript using npm install -g typescript?

Also, one way to ensure that your smart contract is deployed with all the required dependency is to pre-package it using:

cd trade-contracts/trade
make all

If all goes well, the build will succeed and you'll have a trade.tgz in the dist folder. You can then import the pre-packaged contract in VSCode and then deploy it.

If it fails, the error message should point to the missing dependencies.

Your VSCode Gateway panel should then be able to see the function.

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

UPDATE -

I followed the same steps using the letterOfCredit contract written in Java and it worked. Now I can see the functions of the smart contract listed.

Could this be because I do not have the right dependencies installed to get the Typescript contract up and running?

BHF4

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

UPDATE - 2:

I tried deploying all the four smart contracts, i.e. - exportLicense, letterOfCredit, shipment, trade

The functions under the smart contracts in mychannel in Fabric Gateways was seen for letterOfCredit and exportLicense, but not for shipment and trade. Please see attached images.

Any insight into the reason for this would be appreciated. Thanks.
BHF5
BHF6

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

Hello Luc, thanks for your reply.

Yes I meant "npm install -g typescript". I have run it and have tsc Version 4.8.2 installed on my machine right now.

I have tried running 'make all' in the 'trade/' directory and I got the following error:

echo ">> Packaging chaincode"

Packaging chaincode
peer lifecycle chaincode package dist/"trade".tgz --label "trade" --lang "node" --path .
/bin/sh: 1: peer: not found
make: *** [Makefile:26: package] Error 127

Is it because the peer binary from 'fabric-samples' directory is unable to be located? If so, I have the binaries on my machine and also added to the PATH in my .bashrc file.

from trade-network.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

@sravanmutya Instructions to build the peer executable are there in the book, and I believe in bash/README.md. Make sure it's in your system path too.

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

@VRamakrishna Yes, I have followed the instructions successfully, and when I run the 'peer', I get following output as well. But 'make all' is producing the following error:
/bin/sh: 1: peer: not found
make: *** [Makefile:26: package] Error 127

PS: Could be due to the OS, since I'm running Ubuntu on WSL2. It will take a while for me to figure that out, if that's the case. :D

BHF7

from trade-network.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

@sravanmutya Is this problem resolved? (Sorry, I have been very busy this past month.) My impression was that the peer executable was not in your system path (e.g., in Ubuntu, this is the PATH environment variable). Let me know if I can close this issue.

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

Hello @VRamakrishna no the problem hasn't been resolved. (It's okay, I understand)

Yes, the peer executable was on my system path, in the PATH environment variable in Ubuntu, but it didn't solve the issue.

I had been busy with other things as well, hence, I could not follow up on this one. So, from my side, it's okay, if you prefer to close the issue.

from trade-network.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

OK, quick suggestions to check/rectify:

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

Hi, after following the suggestions in the below manner:

  1. The 'peer' file has execute permissions set.
  2. Changing the mentioned line to add the full path as follows (unsure about the syntax) -
    " peer lifecycle chaincode package dist/${CC_NAME}.tgz --label ${CC_NAME} --lang ${CC_LANG} --path ${/usr/local/go-1.19/src/github.com/sravanmutya/fabric-samples/bin} "

I see the following error -

S12

from trade-network.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

I think this is an issue specific to your environment. If you have sudo permissions, run the above rm -rf command manually with sudo and then retry make all.

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

Hello @VRamakrishna , sorry for the late reply. After running the command with sudo permissions, and then running make all, generates the following output.

S13

S14

from trade-network.

VRamakrishna avatar VRamakrishna commented on July 17, 2024

It looks like you are missing a dot at the end of the command. See https://github.com/HyperledgerHandsOn/trade-contracts/blob/master/v1/trade/Makefile#L26. Did you make any changes to the Makefile?

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

After fixing the dot, I get the following error while packaging chaincode. Yes, in the Make file I have added the full path to the peer binary as you mentioned in your previous suggestion here -
#21 (comment).

S15

from trade-network.

ldesrosi avatar ldesrosi commented on July 17, 2024

You are missing the FABRIC_CFG_PATH environment variable. The instructions are covered as part of the installation of the CLI. I have mine pointing to /usr/local/config but it might be different for your install. The folder contains configtx.yaml, core.yaml and orderer.yaml

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

After setting the FABRIC_CFG_PATH environment variable, the MakeAll has been successful. Following are the screenshots for reference. However, it hasn't solved my main issue as my VSCode Gateway panel is not yet able to see the function (as seen in the last image)

S16

S17

S18

S19

S20
.

from trade-network.

ldesrosi avatar ldesrosi commented on July 17, 2024

Could I ask you to post the logs from your microfab container? I suspect that the smart contract is failing to start with an error code 243.

If you see that in the log, I think the solution would be to downgrade your Node version from 16.17 to 16.14.

from trade-network.

sravanmutya avatar sravanmutya commented on July 17, 2024

Hello Luc, sorry for the late reply, here are my microfab container logs -

[ microfabd] 2022/09/02 13:50:35 Starting Microfab ...
[ microfabd] 2022/09/02 13:50:35 Creating ordering organization Orderer ...
[ microfabd] 2022/09/02 13:50:35 Creating endorsing organization Org1 ...
[ microfabd] 2022/09/02 13:50:35 Created endorsing organization Org1
[ microfabd] 2022/09/02 13:50:35 Created ordering organization Orderer
[ microfabd] 2022/09/02 13:50:35 Waiting for CouchDB to start ...
[ microfabd] 2022/09/02 13:50:36 CouchDB has started
[ microfabd] 2022/09/02 13:50:36 Creating and starting CA for endorsing organization Org1 ...
[ microfabd] 2022/09/02 13:50:36 Creating and starting orderer for ordering organization Orderer ...
[ microfabd] 2022/09/02 13:50:36 Creating and starting peer for endorsing organization Org1 ...
[ microfabd] 2022/09/02 13:50:36 Creating and starting CouchDB proxy for endorsing organization Org1 ...
[ org1ca] 2022/09/02 13:50:36 [INFO] Created default configuration file at /opt/microfab/data/ca-org1/fabric-ca-server-config.yaml
[ orderer] 2022-09-02 13:50:36.533 UTC [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to 0.10.2.0
[ orderer] 2022-09-02 13:50:36.534 UTC [orderer.common.server] prettyPrintStruct -> INFO 002 Orderer config values:
[ orderer] General.ListenAddress = "0.0.0.0"
[ orderer] General.ListenPort = 2002
[ orderer] General.TLS.Enabled = false
[ orderer] General.TLS.PrivateKey = "/opt/fabric/config/tls/server.key"
[ orderer] General.TLS.Certificate = "/opt/fabric/config/tls/server.crt"
[ orderer] General.TLS.RootCAs = [/opt/fabric/config/tls/ca.crt]
[ orderer] General.TLS.ClientAuthRequired = false
[ orderer] General.TLS.ClientRootCAs = []
[ orderer] General.TLS.TLSHandshakeTimeShift = 0s
[ orderer] General.Cluster.ListenAddress = ""
[ orderer] General.Cluster.ListenPort = 0
[ orderer] General.Cluster.ServerCertificate = ""
[ orderer] General.Cluster.ServerPrivateKey = ""
[ orderer] General.Cluster.ClientCertificate = ""
[ orderer] General.Cluster.ClientPrivateKey = ""
[ orderer] General.Cluster.RootCAs = []
[ orderer] General.Cluster.DialTimeout = 5s
[ orderer] General.Cluster.RPCTimeout = 7s
[ orderer] General.Cluster.ReplicationBufferSize = 20971520
[ orderer] General.Cluster.ReplicationPullTimeout = 5s
[ orderer] General.Cluster.ReplicationRetryTimeout = 5s
[ orderer] General.Cluster.ReplicationBackgroundRefreshInterval = 5m0s
[ orderer] General.Cluster.ReplicationMaxRetries = 12
[ orderer] General.Cluster.SendBufferSize = 10
[ orderer] General.Cluster.CertExpirationWarningThreshold = 168h0m0s
[ orderer] General.Cluster.TLSHandshakeTimeShift = 0s
[ orderer] General.Keepalive.ServerMinInterval = 1m0s
[ orderer] General.Keepalive.ServerInterval = 2h0m0s
[ orderer] General.Keepalive.ServerTimeout = 20s
[ orderer] General.ConnectionTimeout = 0s
[ orderer] General.GenesisMethod = ""
[ orderer] General.GenesisFile = ""
[ orderer] General.BootstrapMethod = "file"
[ orderer] General.BootstrapFile = "/opt/microfab/data/orderer/config/genesisblock"
[ orderer] General.Profile.Enabled = false
[ orderer] General.Profile.Address = "0.0.0.0:6060"
[ orderer] General.LocalMSPDir = "/opt/microfab/data/orderer/msp"
[ orderer] General.LocalMSPID = "OrdererMSP"
[ orderer] General.BCCSP.ProviderName = "SW"
[ orderer] General.BCCSP.SwOpts.SecLevel = 256
[ orderer] General.BCCSP.SwOpts.HashFamily = "SHA2"
[ orderer] General.BCCSP.SwOpts.FileKeystore.KeyStorePath = ""
[ orderer] General.BCCSP.SwOpts.DummyKeystore =
[ orderer] General.BCCSP.SwOpts.InmemKeystore =
[ orderer] General.Authentication.TimeWindow = 15m0s
[ orderer] General.Authentication.NoExpirationChecks = false
[ orderer] FileLedger.Location = "/opt/microfab/data/orderer/data"
[ orderer] FileLedger.Prefix = "hyperledger-fabric-ordererledger"
[ orderer] Kafka.Retry.ShortInterval = 5s
[ orderer] Kafka.Retry.ShortTotal = 10m0s
[ orderer] Kafka.Retry.LongInterval = 5m0s
[ orderer] Kafka.Retry.LongTotal = 12h0m0s
[ orderer] Kafka.Retry.NetworkTimeouts.DialTimeout = 10s
[ orderer] Kafka.Retry.NetworkTimeouts.ReadTimeout = 10s
[ orderer] Kafka.Retry.NetworkTimeouts.WriteTimeout = 10s
[ orderer] Kafka.Retry.Metadata.RetryMax = 3
[ orderer] Kafka.Retry.Metadata.RetryBackoff = 250ms
[ orderer] Kafka.Retry.Producer.RetryMax = 3
[ orderer] Kafka.Retry.Producer.RetryBackoff = 100ms
[ orderer] Kafka.Retry.Consumer.RetryBackoff = 2s
[ orderer] Kafka.Verbose = false
[ orderer] Kafka.Version = 0.10.2.0
[ orderer] Kafka.TLS.Enabled = false
[ orderer] Kafka.TLS.PrivateKey = ""
[ orderer] Kafka.TLS.Certificate = ""
[ orderer] Kafka.TLS.RootCAs = []
[ orderer] Kafka.TLS.ClientAuthRequired = false
[ orderer] Kafka.TLS.ClientRootCAs = []
[ orderer] Kafka.TLS.TLSHandshakeTimeShift = 0s
[ orderer] Kafka.SASLPlain.Enabled = false
[ orderer] Kafka.SASLPlain.User = ""
[ orderer] Kafka.SASLPlain.Password = ""
[ orderer] Kafka.Topic.ReplicationFactor = 3
[ orderer] Debug.BroadcastTraceDir = ""
[ orderer] Debug.DeliverTraceDir = ""
[ orderer] Consensus = map[SnapDir:/opt/microfab/data/orderer/data/etcdraft/snapshot WALDir:/opt/microfab/data/orderer/data/etcdraft/wal]
[ orderer] Operations.ListenAddress = "0.0.0.0:2003"
[ orderer] Operations.TLS.Enabled = false
[ orderer] Operations.TLS.PrivateKey = ""
[ orderer] Operations.TLS.Certificate = ""
[ orderer] Operations.TLS.RootCAs = []
[ orderer] Operations.TLS.ClientAuthRequired = false
[ orderer] Operations.TLS.ClientRootCAs = []
[ orderer] Operations.TLS.TLSHandshakeTimeShift = 0s
[ orderer] Metrics.Provider = "prometheus"
[ orderer] Metrics.Statsd.Network = "udp"
[ orderer] Metrics.Statsd.Address = "127.0.0.1:8125"
[ orderer] Metrics.Statsd.WriteInterval = 30s
[ orderer] Metrics.Statsd.Prefix = ""
[ orderer] ChannelParticipation.Enabled = false
[ orderer] ChannelParticipation.RemoveStorage = false
[ org1peer] 2022-09-02 13:50:36.544 UTC [nodeCmd] serve -> INFO 001 Starting peer:
[ org1peer] Version: 2.2.2
[ org1peer] Commit SHA: bebb75fd1
[ org1peer] Go version: go1.14.12
[ org1peer] OS/Arch: linux/amd64
[ org1peer] Chaincode:
[ org1peer] Base Docker Label: org.hyperledger.fabric
[ org1peer] Docker Namespace: hyperledger
[ org1peer] 2022-09-02 13:50:36.545 UTC [peer] getLocalAddress -> INFO 002 Auto-detected peer address: 172.17.0.2:2004
[ org1peer] 2022-09-02 13:50:36.545 UTC [peer] getLocalAddress -> INFO 003 Host is 0.0.0.0 , falling back to auto-detected address: 172.17.0.2:2004
[ org1peer] 2022-09-02 13:50:36.552 UTC [nodeCmd] initGrpcSemaphores -> INFO 004 concurrency limit for endorser service is 2500
[ org1peer] 2022-09-02 13:50:36.552 UTC [nodeCmd] initGrpcSemaphores -> INFO 005 concurrency limit for deliver service is 2500
[ org1ca] 2022/09/02 13:50:36 [INFO] Starting server in home directory: /opt/microfab/data/ca-org1
[ org1ca] 2022/09/02 13:50:36 [INFO] Server Version: 1.4.9
[ org1ca] 2022/09/02 13:50:36 [INFO] Server Levels: &{Identity:2 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1}
[ org1ca] 2022/09/02 13:50:36 [INFO] The CA key and certificate files already exist
[ org1ca] 2022/09/02 13:50:36 [INFO] Key file location: /opt/microfab/data/ca-org1/ca-key.pem
[ org1ca] 2022/09/02 13:50:36 [INFO] Certificate file location: /opt/microfab/data/ca-org1/ca-cert.pem
[ orderer] 2022-09-02 13:50:36.571 UTC [blkstorage] NewProvider -> INFO 003 Creating new file ledger directory at /opt/microfab/data/orderer/data/chains
[ orderer] 2022-09-02 13:50:36.574 UTC [orderer.common.server] Main -> INFO 004 Bootstrapping the system channel
[ orderer] 2022-09-02 13:50:36.575 UTC [blkstorage] newBlockfileMgr -> INFO 005 Getting block information from block storage
[ org1peer] 2022-09-02 13:50:36.582 UTC [certmonitor] trackCertExpiration -> INFO 006 The enrollment certificate will expire on 2032-08-30 13:45:36 +0000 UTC
[ org1peer] 2022-09-02 13:50:36.586 UTC [ledgermgmt] NewLedgerMgr -> INFO 007 Initializing LedgerMgr
[ orderer] 2022-09-02 13:50:36.597 UTC [orderer.common.server] selectClusterBootBlock -> INFO 006 Cluster boot block is bootstrap (genesis) block; Blocks Header.Number system-channel=0, bootstrap=0
[ orderer] 2022-09-02 13:50:36.599 UTC [orderer.common.server] Main -> INFO 007 Starting with system channel: testchainid, consensus type: solo
[ orderer] 2022-09-02 13:50:36.600 UTC [certmonitor] trackCertExpiration -> INFO 008 The enrollment certificate will expire on 2032-08-30 13:45:36 +0000 UTC
[ orderer] 2022-09-02 13:50:36.603 UTC [orderer.consensus.solo] HandleChain -> WARN 009 Use of the Solo orderer is deprecated and remains only for use in test environments but may be removed in the future.
[ orderer] 2022-09-02 13:50:36.603 UTC [orderer.commmon.multichannel] Initialize -> INFO 00a Starting system channel 'testchainid' with genesis block hash 16e92d958ad339d10e0283118f2887ba363206dad5bbdcdd52ae304978ddc44a and orderer type solo
[ orderer] 2022-09-02 13:50:36.604 UTC [orderer.common.server] Main -> INFO 00b Starting orderer:
[ orderer] Version: 2.2.2
[ orderer] Commit SHA: bebb75fd1
[ orderer] Go version: go1.14.12
[ orderer] OS/Arch: linux/amd64
[ orderer] 2022-09-02 13:50:36.604 UTC [orderer.common.server] Main -> INFO 00c Beginning to serve requests
[ org1peer] 2022-09-02 13:50:36.657 UTC [leveldbhelper] openDBAndCheckFormat -> INFO 008 DB is empty Setting db format as 2.0
[ org1peer] 2022-09-02 13:50:36.666 UTC [blkstorage] NewProvider -> INFO 009 Creating new file ledger directory at /opt/microfab/data/peer-org1/data/ledgersData/chains/chains
[ org1peer] 2022-09-02 13:50:36.691 UTC [leveldbhelper] openDBAndCheckFormat -> INFO 00a DB is empty Setting db format as 2.0
[ microfabd] 2022/09/02 13:50:36 Created and started orderer for ordering organization Orderer
[ org1ca] 2022/09/02 13:50:36 [INFO] Initialized sqlite3 database at /opt/microfab/data/ca-org1/fabric-ca-server.db
[ org1ca] 2022/09/02 13:50:36 [INFO] The issuer key was successfully stored. The public key is at: /opt/microfab/data/ca-org1/IssuerPublicKey, secret key is at: /opt/microfab/data/ca-org1/msp/keystore/IssuerSecretKey
[ org1ca] 2022/09/02 13:50:36 [INFO] Idemix issuer revocation public and secret keys were generated for CA ''
[ org1ca] 2022/09/02 13:50:36 [INFO] The revocation key was successfully stored. The public key is at: /opt/microfab/data/ca-org1/IssuerRevocationPublicKey, private key is at: /opt/microfab/data/ca-org1/msp/keystore/IssuerRevocationPrivateKey
[ org1ca] 2022/09/02 13:50:36 [INFO] Home directory for default CA: /opt/microfab/data/ca-org1
[ org1ca] 2022/09/02 13:50:36 [INFO] Operation Server Listening on [::]:2001
[ org1ca] 2022/09/02 13:50:36 [INFO] Listening on http://0.0.0.0:2000
[ org1peer] 2022-09-02 13:50:36.843 UTC [couchdb] createDatabaseIfNotExist -> INFO 00b Created state database fabric__internal
[ org1peer] 2022-09-02 13:50:36.902 UTC [ledgermgmt] NewLedgerMgr -> INFO 00c Initialized LedgerMgr
[ org1peer] 2022-09-02 13:50:36.907 UTC [gossip.service] New -> INFO 00d Initialize gossip with endpoint org1peer-api.127-0-0-1.nip.io:8080
[ org1peer] 2022-09-02 13:50:36.908 UTC [gossip.gossip] New -> INFO 00e Creating gossip service with self membership of Endpoint: org1peer-api.127-0-0-1.nip.io:8080, InternalEndpoint: org1peer-api.127-0-0-1.nip.io:8080, PKI-ID: 3a0055aaaa6eee5578197f67011e8b19a000d02be08780784d885d9409d814e7, Metadata:
[ org1peer] 2022-09-02 13:50:36.909 UTC [lifecycle] InitializeLocalChaincodes -> INFO 00f Initialized lifecycle cache with 0 already installed chaincodes
[ org1peer] 2022-09-02 13:50:36.909 UTC [gossip.gossip] start -> INFO 010 Gossip instance org1peer-api.127-0-0-1.nip.io:8080 started
[ org1peer] 2022-09-02 13:50:36.909 UTC [nodeCmd] computeChaincodeEndpoint -> INFO 011 Entering computeChaincodeEndpoint with peerHostname: 172.17.0.2
[ org1peer] 2022-09-02 13:50:36.909 UTC [nodeCmd] computeChaincodeEndpoint -> INFO 012 Exit with ccEndpoint: 172.17.0.2:2005
[ org1peer] 2022-09-02 13:50:36.913 UTC [sccapi] DeploySysCC -> INFO 013 deploying system chaincode 'lscc'
[ org1peer] 2022-09-02 13:50:36.914 UTC [sccapi] DeploySysCC -> INFO 014 deploying system chaincode 'cscc'
[ org1peer] 2022-09-02 13:50:36.914 UTC [sccapi] DeploySysCC -> INFO 015 deploying system chaincode 'qscc'
[ org1peer] 2022-09-02 13:50:36.914 UTC [sccapi] DeploySysCC -> INFO 016 deploying system chaincode 'lifecycle'
[ org1peer] 2022-09-02 13:50:36.914 UTC [nodeCmd] serve -> INFO 017 Deployed system chaincodes
[ org1peer] 2022-09-02 13:50:36.915 UTC [discovery] NewService -> INFO 018 Created with config TLS: false, authCacheMaxSize: 1000, authCachePurgeRatio: 0.750000
[ org1peer] 2022-09-02 13:50:36.915 UTC [nodeCmd] registerDiscoveryService -> INFO 019 Discovery service activated
[ org1peer] 2022-09-02 13:50:36.915 UTC [nodeCmd] serve -> INFO 01a Starting peer with ID=[org1peer], network ID=[dev], address=[172.17.0.2:2004]
[ org1peer] 2022-09-02 13:50:36.915 UTC [nodeCmd] serve -> INFO 01b Started peer with ID=[org1peer], network ID=[dev], address=[172.17.0.2:2004]
[ org1peer] 2022-09-02 13:50:36.915 UTC [kvledger] LoadPreResetHeight -> INFO 01c Loading prereset height from path [/opt/microfab/data/peer-org1/data/ledgersData/chains]
[ org1peer] 2022-09-02 13:50:36.915 UTC [blkstorage] preResetHtFiles -> INFO 01d No active channels passed
[ org1peer] 2022-09-02 13:50:37.004 UTC [endorser] callChaincode -> INFO 01e finished chaincode: cscc duration: 1ms channel= txID=5c88e0a4
[ org1peer] 2022-09-02 13:50:37.004 UTC [comm.grpc.server] 1 -> INFO 01f unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.request_deadline=2022-09-02T13:51:06.998Z grpc.peer_address=127.0.0.1:48338 grpc.code=OK grpc.call_duration=4.639027ms
[ microfabd] 2022/09/02 13:50:37 Created and started peer for endorsing organization Org1
[ org1ca] 2022/09/02 13:50:37 [INFO] signed certificate with serial number 138927583317353552496624179933975452583465178892
[ org1ca] 2022/09/02 13:50:37 [INFO] 127.0.0.1:56430 POST /enroll 201 0 "OK"
[ microfabd] 2022/09/02 13:50:37 Created and started CA for endorsing organization Org1
[ microfabd] 2022/09/02 13:50:37 Creating and joining channel mychannel ...
[ microfabd] 2022/09/02 13:50:37 Creating channel mychannel ...
[ orderer] 2022-09-02 13:50:37.155 UTC [comm.grpc.server] 1 -> INFO 00d streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.request_deadline=2022-09-02T13:51:07.143Z grpc.peer_address=127.0.0.1:45972 grpc.code=OK grpc.call_duration=10.365834ms
[ orderer] 2022-09-02 13:50:37.157 UTC [blkstorage] newBlockfileMgr -> INFO 00e Getting block information from block storage
[ orderer] 2022-09-02 13:50:37.171 UTC [orderer.consensus.solo] HandleChain -> WARN 00f Use of the Solo orderer is deprecated and remains only for use in test environments but may be removed in the future.
[ orderer] 2022-09-02 13:50:37.171 UTC [orderer.commmon.multichannel] newChain -> INFO 010 Created and starting new channel mychannel
[ orderer] 2022-09-02 13:50:37.172 UTC [comm.grpc.server] 1 -> INFO 011 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.request_deadline=2022-09-02T13:51:07.156Z grpc.peer_address=127.0.0.1:45972 grpc.code=OK grpc.call_duration=16.326289ms
[ orderer] 2022-09-02 13:50:37.174 UTC [comm.grpc.server] 1 -> INFO 012 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.request_deadline=2022-09-02T13:51:07.173Z grpc.peer_address=127.0.0.1:45972 grpc.code=OK grpc.call_duration=1.145082ms
[ orderer] 2022-09-02 13:50:37.176 UTC [comm.grpc.server] 1 -> INFO 013 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.request_deadline=2022-09-02T13:51:07.175Z grpc.peer_address=127.0.0.1:45972 grpc.code=OK grpc.call_duration=592.791µs
[ orderer] 2022-09-02 13:50:37.183 UTC [comm.grpc.server] 1 -> INFO 014 streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.request_deadline=2022-09-02T13:51:07.177Z grpc.peer_address=127.0.0.1:45972 grpc.code=OK grpc.call_duration=6.46527ms
[ microfabd] 2022/09/02 13:50:37 Created channel mychannel
[ microfabd] 2022/09/02 13:50:37 Joining channel mychannel on peer for endorsing organization Org1 ...
[ org1peer] 2022-09-02 13:50:37.189 UTC [ledgermgmt] CreateLedger -> INFO 020 Creating ledger [mychannel] with genesis block
[ org1peer] 2022-09-02 13:50:37.194 UTC [blkstorage] newBlockfileMgr -> INFO 021 Getting block information from block storage
[ org1peer] 2022-09-02 13:50:37.243 UTC [couchdb] createDatabaseIfNotExist -> INFO 022 Created state database mychannel

[ org1peer] 2022-09-02 13:50:37.320 UTC [couchdb] createDatabaseIfNotExist -> INFO 023 Created state database mychannel__lifecycle
[ org1peer] 2022-09-02 13:50:37.432 UTC [kvledger] CommitLegacy -> INFO 024 [mychannel] Committed block [0] with 1 transaction(s) in 95ms (state_validation=0ms block_and_pvtdata_commit=9ms state_commit=81ms) commitHash=[]
[ org1peer] 2022-09-02 13:50:37.436 UTC [ledgermgmt] CreateLedger -> INFO 025 Created ledger [mychannel] with genesis block
[ org1peer] 2022-09-02 13:50:37.449 UTC [gossip.gossip] JoinChan -> INFO 026 Joining gossip network of channel mychannel with 1 organizations
[ org1peer] 2022-09-02 13:50:37.450 UTC [gossip.gossip] learnAnchorPeers -> INFO 027 No configured anchor peers of Org1MSP for channel mychannel to learn about
[ org1peer] 2022-09-02 13:50:37.453 UTC [gossip.state] NewGossipStateProvider -> INFO 028 Updating metadata information for channel mychannel, current ledger sequence is at = 0, next expected block is = 1
[ org1peer] 2022-09-02 13:50:37.454 UTC [deliveryClient] StartDeliverForChannel -> INFO 029 This peer will retrieve blocks from ordering service and disseminate to other peers in the organization for channel mychannel
[ org1peer] 2022-09-02 13:50:37.454 UTC [endorser] callChaincode -> INFO 02a finished chaincode: cscc duration: 267ms channel= txID=72899de8
[ org1peer] 2022-09-02 13:50:37.454 UTC [comm.grpc.server] 1 -> INFO 02b unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.request_deadline=2022-09-02T13:51:07.185Z grpc.peer_address=127.0.0.1:48342 grpc.code=OK grpc.call_duration=268.608208ms
[ microfabd] 2022/09/02 13:50:37 Joined channel mychannel on peer for endorsing organization Org1
[ microfabd] 2022/09/02 13:50:37 Created and joined channel mychannel
[ microfabd] 2022/09/02 13:50:37 Microfab started in 2382ms
[ org1peer] 2022-09-02 13:50:37.551 UTC [gossip.privdata] StoreBlock -> INFO 02c Received block [1] from buffer channel=mychannel
[ org1peer] 2022-09-02 13:50:37.557 UTC [gossip.gossip] JoinChan -> INFO 02d Joining gossip network of channel mychannel with 1 organizations
[ org1peer] 2022-09-02 13:50:37.557 UTC [gossip.gossip] learnAnchorPeers -> INFO 02e Learning about the configured anchor peers of Org1MSP for channel mychannel: [{org1peer-api.127-0-0-1.nip.io 8080}]
[ org1peer] 2022-09-02 13:50:37.557 UTC [gossip.gossip] learnAnchorPeers -> INFO 02f Anchor peer for channel mychannel with same endpoint, skipping connecting to myself
[ org1peer] 2022-09-02 13:50:37.557 UTC [committer.txvalidator] Validate -> INFO 030 [mychannel] Validated block [1] in 6ms
[ org1peer] 2022-09-02 13:50:37.647 UTC [kvledger] CommitLegacy -> INFO 031 [mychannel] Committed block [1] with 1 transaction(s) in 89ms (state_validation=0ms block_and_pvtdata_commit=17ms state_commit=67ms) commitHash=[47dc540c94ceb704a23875c11273e16bb0b8a87aed84de911f2133568115f254]
[ microfabd] 2022/09/02 14:22:46 Stopping Microfab due to signal ...
[ microfabd] 2022/09/02 14:22:46 Microfab stopped
[ microfabd] 2022/10/03 12:42:03 Starting Microfab ...
[ microfabd] 2022/10/03 12:42:03 Loaded state
[ microfabd] 2022/10/03 12:42:03 Creating ordering organization Orderer ...
[ microfabd] 2022/10/03 12:42:03 Creating endorsing organization Org1 ...
[ microfabd] 2022/10/03 12:42:03 Created endorsing organization Org1
[ microfabd] 2022/10/03 12:42:03 Created ordering organization Orderer
[ microfabd] 2022/10/03 12:42:03 Waiting for CouchDB to start ...
[ microfabd] 2022/10/03 12:42:05 CouchDB has started
[ microfabd] 2022/10/03 12:42:05 Creating and starting CA for endorsing organization Org1 ...
[ microfabd] 2022/10/03 12:42:05 Creating and starting orderer for ordering organization Orderer ...
[ microfabd] 2022/10/03 12:42:05 Creating and starting peer for endorsing organization Org1 ...
[ microfabd] 2022/10/03 12:42:05 Creating and starting CouchDB proxy for endorsing organization Org1 ...
[ org1ca] 2022/10/03 12:42:05 [INFO] Configuration file location: /opt/microfab/data/ca-org1/fabric-ca-server-config.yaml
[ orderer] 2022-10-03 12:42:05.159 UTC [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to 0.10.2.0
[ orderer] 2022-10-03 12:42:05.160 UTC [orderer.common.server] prettyPrintStruct -> INFO 002 Orderer config values:
[ orderer] General.ListenAddress = "0.0.0.0"
[ orderer] General.ListenPort = 2002
[ orderer] General.TLS.Enabled = false
[ orderer] General.TLS.PrivateKey = "/opt/fabric/config/tls/server.key"
[ orderer] General.TLS.Certificate = "/opt/fabric/config/tls/server.crt"
[ orderer] General.TLS.RootCAs = [/opt/fabric/config/tls/ca.crt]
[ orderer] General.TLS.ClientAuthRequired = false
[ orderer] General.TLS.ClientRootCAs = []
[ orderer] General.TLS.TLSHandshakeTimeShift = 0s
[ orderer] General.Cluster.ListenAddress = ""
[ orderer] General.Cluster.ListenPort = 0
[ orderer] General.Cluster.ServerCertificate = ""
[ orderer] General.Cluster.ServerPrivateKey = ""
[ orderer] General.Cluster.ClientCertificate = ""
[ orderer] General.Cluster.ClientPrivateKey = ""
[ orderer] General.Cluster.RootCAs = []
[ orderer] General.Cluster.DialTimeout = 5s
[ orderer] General.Cluster.RPCTimeout = 7s
[ orderer] General.Cluster.ReplicationBufferSize = 20971520
[ orderer] General.Cluster.ReplicationPullTimeout = 5s
[ orderer] General.Cluster.ReplicationRetryTimeout = 5s
[ orderer] General.Cluster.ReplicationBackgroundRefreshInterval = 5m0s
[ orderer] General.Cluster.ReplicationMaxRetries = 12
[ orderer] General.Cluster.SendBufferSize = 10
[ orderer] General.Cluster.CertExpirationWarningThreshold = 168h0m0s
[ orderer] General.Cluster.TLSHandshakeTimeShift = 0s
[ orderer] General.Keepalive.ServerMinInterval = 1m0s
[ orderer] General.Keepalive.ServerInterval = 2h0m0s
[ orderer] General.Keepalive.ServerTimeout = 20s
[ orderer] General.ConnectionTimeout = 0s
[ orderer] General.GenesisMethod = ""
[ orderer] General.GenesisFile = ""
[ orderer] General.BootstrapMethod = "file"
[ orderer] General.BootstrapFile = "/opt/microfab/data/orderer/config/genesisblock"
[ orderer] General.Profile.Enabled = false
[ orderer] General.Profile.Address = "0.0.0.0:6060"
[ orderer] General.LocalMSPDir = "/opt/microfab/data/orderer/msp"
[ orderer] General.LocalMSPID = "OrdererMSP"
[ orderer] General.BCCSP.ProviderName = "SW"
[ orderer] General.BCCSP.SwOpts.SecLevel = 256
[ orderer] General.BCCSP.SwOpts.HashFamily = "SHA2"
[ orderer] General.BCCSP.SwOpts.FileKeystore.KeyStorePath = ""
[ orderer] General.BCCSP.SwOpts.DummyKeystore =
[ orderer] General.BCCSP.SwOpts.InmemKeystore =
[ orderer] General.Authentication.TimeWindow = 15m0s
[ orderer] General.Authentication.NoExpirationChecks = false
[ orderer] FileLedger.Location = "/opt/microfab/data/orderer/data"
[ orderer] FileLedger.Prefix = "hyperledger-fabric-ordererledger"
[ orderer] Kafka.Retry.ShortInterval = 5s
[ orderer] Kafka.Retry.ShortTotal = 10m0s
[ orderer] Kafka.Retry.LongInterval = 5m0s
[ orderer] Kafka.Retry.LongTotal = 12h0m0s
[ orderer] Kafka.Retry.NetworkTimeouts.DialTimeout = 10s
[ orderer] Kafka.Retry.NetworkTimeouts.ReadTimeout = 10s
[ orderer] Kafka.Retry.NetworkTimeouts.WriteTimeout = 10s
[ orderer] Kafka.Retry.Metadata.RetryMax = 3
[ orderer] Kafka.Retry.Metadata.RetryBackoff = 250ms
[ orderer] Kafka.Retry.Producer.RetryMax = 3
[ orderer] Kafka.Retry.Producer.RetryBackoff = 100ms
[ orderer] Kafka.Retry.Consumer.RetryBackoff = 2s
[ orderer] Kafka.Verbose = false
[ orderer] Kafka.Version = 0.10.2.0
[ orderer] Kafka.TLS.Enabled = false
[ orderer] Kafka.TLS.PrivateKey = ""
[ orderer] Kafka.TLS.Certificate = ""
[ orderer] Kafka.TLS.RootCAs = []
[ orderer] Kafka.TLS.ClientAuthRequired = false
[ orderer] Kafka.TLS.ClientRootCAs = []
[ orderer] Kafka.TLS.TLSHandshakeTimeShift = 0s
[ orderer] Kafka.SASLPlain.Enabled = false
[ orderer] Kafka.SASLPlain.User = ""
[ orderer] Kafka.SASLPlain.Password = ""
[ orderer] Kafka.Topic.ReplicationFactor = 3
[ orderer] Debug.BroadcastTraceDir = ""
[ orderer] Debug.DeliverTraceDir = ""
[ orderer] Consensus = map[SnapDir:/opt/microfab/data/orderer/data/etcdraft/snapshot WALDir:/opt/microfab/data/orderer/data/etcdraft/wal]
[ orderer] Operations.ListenAddress = "0.0.0.0:2003"
[ orderer] Operations.TLS.Enabled = false
[ orderer] Operations.TLS.PrivateKey = ""
[ orderer] Operations.TLS.Certificate = ""
[ orderer] Operations.TLS.RootCAs = []
[ orderer] Operations.TLS.ClientAuthRequired = false
[ orderer] Operations.TLS.ClientRootCAs = []
[ orderer] Operations.TLS.TLSHandshakeTimeShift = 0s
[ orderer] Metrics.Provider = "prometheus"
[ orderer] Metrics.Statsd.Network = "udp"
[ orderer] Metrics.Statsd.Address = "127.0.0.1:8125"
[ orderer] Metrics.Statsd.WriteInterval = 30s
[ orderer] Metrics.Statsd.Prefix = ""
[ orderer] ChannelParticipation.Enabled = false
[ orderer] ChannelParticipation.RemoveStorage = false
[ org1ca] 2022/10/03 12:42:05 [INFO] Starting server in home directory: /opt/microfab/data/ca-org1
[ org1ca] 2022/10/03 12:42:05 [INFO] Server Version: 1.4.9
[ org1ca] 2022/10/03 12:42:05 [INFO] Server Levels: &{Identity:2 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1}
[ org1ca] 2022/10/03 12:42:05 [INFO] The CA key and certificate files already exist
[ org1ca] 2022/10/03 12:42:05 [INFO] Key file location: /opt/microfab/data/ca-org1/ca-key.pem
[ org1ca] 2022/10/03 12:42:05 [INFO] Certificate file location: /opt/microfab/data/ca-org1/ca-cert.pem
[ orderer] 2022-10-03 12:42:05.193 UTC [orderer.common.server] Main -> INFO 003 Not bootstrapping the system channel because of existing channels
[ org1ca] 2022/10/03 12:42:05 [INFO] Initialized sqlite3 database at /opt/microfab/data/ca-org1/fabric-ca-server.db
[ org1ca] 2022/10/03 12:42:05 [INFO] The Idemix issuer public and secret key files already exist
[ org1ca] 2022/10/03 12:42:05 [INFO] secret key file location: /opt/microfab/data/ca-org1/msp/keystore/IssuerSecretKey
[ org1ca] 2022/10/03 12:42:05 [INFO] public key file location: /opt/microfab/data/ca-org1/IssuerPublicKey
[ orderer] 2022-10-03 12:42:05.205 UTC [orderer.common.server] selectClusterBootBlock -> INFO 004 Cluster boot block is bootstrap (genesis) block; Blocks Header.Number system-channel=0, bootstrap=0
[ orderer] 2022-10-03 12:42:05.207 UTC [orderer.common.server] Main -> INFO 005 Starting with system channel: testchainid, consensus type: solo
[ orderer] 2022-10-03 12:42:05.208 UTC [certmonitor] trackCertExpiration -> INFO 006 The enrollment certificate will expire on 2032-09-30 12:37:05 +0000 UTC
[ org1peer] 2022-10-03 12:42:05.208 UTC [nodeCmd] serve -> INFO 001 Starting peer:
[ org1peer] Version: 2.2.2
[ org1peer] Commit SHA: bebb75fd1
[ org1peer] Go version: go1.14.12
[ org1peer] OS/Arch: linux/amd64
[ org1peer] Chaincode:
[ org1peer] Base Docker Label: org.hyperledger.fabric
[ org1peer] Docker Namespace: hyperledger
[ org1peer] 2022-10-03 12:42:05.209 UTC [peer] getLocalAddress -> INFO 002 Auto-detected peer address: 172.17.0.2:2004
[ org1peer] 2022-10-03 12:42:05.209 UTC [peer] getLocalAddress -> INFO 003 Host is 0.0.0.0 , falling back to auto-detected address: 172.17.0.2:2004
[ orderer] 2022-10-03 12:42:05.213 UTC [orderer.consensus.solo] HandleChain -> WARN 007 Use of the Solo orderer is deprecated and remains only for use in test environments but may be removed in the future.
[ orderer] 2022-10-03 12:42:05.215 UTC [orderer.consensus.solo] HandleChain -> WARN 008 Use of the Solo orderer is deprecated and remains only for use in test environments but may be removed in the future.
[ orderer] 2022-10-03 12:42:05.215 UTC [orderer.commmon.multichannel] Initialize -> INFO 009 Starting system channel 'testchainid' with genesis block hash 16e92d958ad339d10e0283118f2887ba363206dad5bbdcdd52ae304978ddc44a and orderer type solo
[ orderer] 2022-10-03 12:42:05.216 UTC [orderer.common.server] Main -> INFO 00a Starting orderer:
[ orderer] Version: 2.2.2
[ orderer] Commit SHA: bebb75fd1
[ orderer] Go version: go1.14.12
[ orderer] OS/Arch: linux/amd64
[ org1peer] 2022-10-03 12:42:05.216 UTC [nodeCmd] initGrpcSemaphores -> INFO 004 concurrency limit for endorser service is 2500
[ org1peer] 2022-10-03 12:42:05.216 UTC [nodeCmd] initGrpcSemaphores -> INFO 005 concurrency limit for deliver service is 2500
[ orderer] 2022-10-03 12:42:05.216 UTC [orderer.common.server] Main -> INFO 00b Beginning to serve requests
[ org1ca] 2022/10/03 12:42:05 [INFO] The Idemix issuer revocation public and secret key files already exist
[ org1ca] 2022/10/03 12:42:05 [INFO] private key file location: /opt/microfab/data/ca-org1/msp/keystore/IssuerRevocationPrivateKey
[ org1ca] 2022/10/03 12:42:05 [INFO] public key file location: /opt/microfab/data/ca-org1/IssuerRevocationPublicKey
[ org1peer] 2022-10-03 12:42:05.230 UTC [certmonitor] trackCertExpiration -> INFO 006 The enrollment certificate will expire on 2032-09-30 12:37:05 +0000 UTC
[ org1ca] 2022/10/03 12:42:05 [INFO] Home directory for default CA: /opt/microfab/data/ca-org1
[ org1ca] 2022/10/03 12:42:05 [INFO] Operation Server Listening on [::]:2001
[ org1ca] 2022/10/03 12:42:05 [INFO] Listening on http://0.0.0.0:2000
[ org1peer] 2022-10-03 12:42:05.233 UTC [ledgermgmt] NewLedgerMgr -> INFO 007 Initializing LedgerMgr
[ microfabd] 2022/10/03 12:42:05 Created and started orderer for ordering organization Orderer
[ org1ca] 2022/10/03 12:42:05 [INFO] signed certificate with serial number 351025785476960021071737385249376559203290013836
[ org1ca] 2022/10/03 12:42:05 [INFO] 127.0.0.1:45246 POST /enroll 201 0 "OK"
[ microfabd] 2022/10/03 12:42:05 Created and started CA for endorsing organization Org1
[ org1peer] 2022-10-03 12:42:05.498 UTC [ledgermgmt] NewLedgerMgr -> INFO 008 Initialized LedgerMgr
[ org1peer] 2022-10-03 12:42:05.504 UTC [gossip.service] New -> INFO 009 Initialize gossip with endpoint org1peer-api.127-0-0-1.nip.io:8080
[ org1peer] 2022-10-03 12:42:05.506 UTC [gossip.gossip] New -> INFO 00a Creating gossip service with self membership of Endpoint: org1peer-api.127-0-0-1.nip.io:8080, InternalEndpoint: org1peer-api.127-0-0-1.nip.io:8080, PKI-ID: c430f5c17e34a1582983569d1e0f423806743043d7121d7bd529a2886e0fab67, Metadata:
[ org1peer] 2022-10-03 12:42:05.507 UTC [gossip.gossip] start -> INFO 00b Gossip instance org1peer-api.127-0-0-1.nip.io:8080 started
[ org1peer] 2022-10-03 12:42:05.507 UTC [lifecycle] InitializeLocalChaincodes -> INFO 00c Initialized lifecycle cache with 0 already installed chaincodes
[ org1peer] 2022-10-03 12:42:05.508 UTC [nodeCmd] computeChaincodeEndpoint -> INFO 00d Entering computeChaincodeEndpoint with peerHostname: 172.17.0.2
[ org1peer] 2022-10-03 12:42:05.508 UTC [nodeCmd] computeChaincodeEndpoint -> INFO 00e Exit with ccEndpoint: 172.17.0.2:2005
[ org1peer] 2022-10-03 12:42:05.512 UTC [sccapi] DeploySysCC -> INFO 00f deploying system chaincode 'lscc'
[ org1peer] 2022-10-03 12:42:05.512 UTC [sccapi] DeploySysCC -> INFO 010 deploying system chaincode 'cscc'
[ org1peer] 2022-10-03 12:42:05.513 UTC [sccapi] DeploySysCC -> INFO 011 deploying system chaincode 'qscc'
[ org1peer] 2022-10-03 12:42:05.513 UTC [sccapi] DeploySysCC -> INFO 012 deploying system chaincode '_lifecycle'
[ org1peer] 2022-10-03 12:42:05.513 UTC [nodeCmd] serve -> INFO 013 Deployed system chaincodes
[ org1peer] 2022-10-03 12:42:05.513 UTC [peer] Initialize -> INFO 014 Loading chain mychannel
[ org1peer] 2022-10-03 12:42:05.513 UTC [ledgermgmt] OpenLedger -> INFO 015 Opening ledger with id = mychannel
[ org1peer] 2022-10-03 12:42:05.578 UTC [ledgermgmt] OpenLedger -> INFO 016 Opened ledger with id = mychannel
[ org1peer] 2022-10-03 12:42:05.618 UTC [gossip.gossip] JoinChan -> INFO 017 Joining gossip network of channel mychannel with 1 organizations
[ org1peer] 2022-10-03 12:42:05.618 UTC [gossip.gossip] learnAnchorPeers -> INFO 018 Learning about the configured anchor peers of Org1MSP for channel mychannel: [{org1peer-api.127-0-0-1.nip.io 8080}]
[ org1peer] 2022-10-03 12:42:05.618 UTC [gossip.gossip] learnAnchorPeers -> INFO 019 Anchor peer for channel mychannel with same endpoint, skipping connecting to myself
[ org1peer] 2022-10-03 12:42:05.620 UTC [gossip.state] NewGossipStateProvider -> INFO 01a Updating metadata information for channel mychannel, current ledger sequence is at = 1, next expected block is = 2
[ org1peer] 2022-10-03 12:42:05.621 UTC [deliveryClient] StartDeliverForChannel -> INFO 01b This peer will retrieve blocks from ordering service and disseminate to other peers in the organization for channel mychannel
[ org1peer] 2022-10-03 12:42:05.622 UTC [discovery] NewService -> INFO 01c Created with config TLS: false, authCacheMaxSize: 1000, authCachePurgeRatio: 0.750000
[ org1peer] 2022-10-03 12:42:05.622 UTC [nodeCmd] registerDiscoveryService -> INFO 01d Discovery service activated
[ org1peer] 2022-10-03 12:42:05.622 UTC [nodeCmd] serve -> INFO 01e Starting peer with ID=[org1peer], network ID=[dev], address=[172.17.0.2:2004]
[ org1peer] 2022-10-03 12:42:05.622 UTC [nodeCmd] serve -> INFO 01f Started peer with ID=[org1peer], network ID=[dev], address=[172.17.0.2:2004]
[ org1peer] 2022-10-03 12:42:05.623 UTC [kvledger] LoadPreResetHeight -> INFO 020 Loading prereset height from path [/opt/microfab/data/peer-org1/data/ledgersData/chains]
[ org1peer] 2022-10-03 12:42:05.630 UTC [endorser] callChaincode -> INFO 021 finished chaincode: cscc duration: 0ms channel= txID=907eeffa
[ org1peer] 2022-10-03 12:42:05.630 UTC [comm.grpc.server] 1 -> INFO 022 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.request_deadline=2022-10-03T12:42:35.566Z grpc.peer_address=127.0.0.1:44754 grpc.code=OK grpc.call_duration=4.373547ms
[ microfabd] 2022/10/03 12:42:05 Created and started peer for endorsing organization Org1
[ microfabd] 2022/10/03 12:42:05 Microfab started in 1805ms
[ org1peer] 2022-10-03 12:42:07.455 UTC [endorser] callChaincode -> INFO 023 finished chaincode: cscc duration: 0ms channel= txID=676a7c3c
[ org1peer] 2022-10-03 12:42:07.455 UTC [comm.grpc.server] 1 -> INFO 024 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=1.350552ms
[ org1peer] 2022-10-03 12:42:07.693 UTC [endorser] callChaincode -> INFO 025 finished chaincode: cscc duration: 0ms channel= txID=98ac39a1
[ org1peer] 2022-10-03 12:42:07.693 UTC [comm.grpc.server] 1 -> INFO 026 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=1.405094ms
[ org1peer] 2022-10-03 12:42:07.909 UTC [endorser] callChaincode -> INFO 027 finished chaincode: cscc duration: 1ms channel= txID=73f168dd
[ org1peer] 2022-10-03 12:42:07.909 UTC [comm.grpc.server] 1 -> INFO 028 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=2.63251ms
[ org1peer] 2022-10-03 12:42:08.097 UTC [endorser] callChaincode -> INFO 029 finished chaincode: _lifecycle duration: 4ms channel=mychannel txID=0199b082
[ org1peer] 2022-10-03 12:42:08.098 UTC [comm.grpc.server] 1 -> INFO 02a unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=5.32942ms
[ org1peer] 2022-10-03 12:42:08.236 UTC [endorser] callChaincode -> INFO 02b finished chaincode: cscc duration: 0ms channel= txID=03ddee24
[ org1peer] 2022-10-03 12:42:08.236 UTC [comm.grpc.server] 1 -> INFO 02c unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=891.696µs
[ org1peer] 2022-10-03 12:42:11.769 UTC [endorser] callChaincode -> INFO 02d finished chaincode: cscc duration: 0ms channel= txID=eec588c5
[ org1peer] 2022-10-03 12:42:11.769 UTC [comm.grpc.server] 1 -> INFO 02e unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=725.342µs
[ org1peer] 2022-10-03 12:42:11.945 UTC [endorser] callChaincode -> INFO 02f finished chaincode: cscc duration: 0ms channel= txID=5ffecd25
[ org1peer] 2022-10-03 12:42:11.945 UTC [comm.grpc.server] 1 -> INFO 030 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=790.428µs
[ org1peer] 2022-10-03 12:42:12.995 UTC [endorser] callChaincode -> INFO 031 finished chaincode: cscc duration: 0ms channel= txID=ed17725b
[ org1peer] 2022-10-03 12:42:12.995 UTC [comm.grpc.server] 1 -> INFO 032 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=658.387µs
[ org1peer] 2022-10-03 12:42:13.115 UTC [endorser] callChaincode -> INFO 033 finished chaincode: cscc duration: 0ms channel= txID=4b80891b
[ org1peer] 2022-10-03 12:42:13.115 UTC [comm.grpc.server] 1 -> INFO 034 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=975.46µs
[ org1peer] 2022-10-03 12:42:13.258 UTC [endorser] callChaincode -> INFO 035 finished chaincode: cscc duration: 0ms channel= txID=c4b7ecb5
[ org1peer] 2022-10-03 12:42:13.258 UTC [comm.grpc.server] 1 -> INFO 036 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=829.399µs
[ org1peer] 2022-10-03 12:42:13.413 UTC [endorser] callChaincode -> INFO 037 finished chaincode: _lifecycle duration: 3ms channel=mychannel txID=5198c218
[ org1peer] 2022-10-03 12:42:13.413 UTC [comm.grpc.server] 1 -> INFO 038 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=4.251624ms
[ org1peer] 2022-10-03 12:42:13.590 UTC [comm.grpc.server] 1 -> INFO 039 unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=467.117µs
[ org1peer] 2022-10-03 12:42:13.795 UTC [comm.grpc.server] 1 -> INFO 03a unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=488.999µs
[ org1peer] 2022-10-03 12:42:15.103 UTC [endorser] callChaincode -> INFO 03b finished chaincode: cscc duration: 0ms channel= txID=71bb3800
[ org1peer] 2022-10-03 12:42:15.103 UTC [comm.grpc.server] 1 -> INFO 03c unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=778.551µs
[ org1peer] 2022-10-03 12:42:15.252 UTC [endorser] callChaincode -> INFO 03d finished chaincode: _lifecycle duration: 4ms channel=mychannel txID=6ab4d28c
[ org1peer] 2022-10-03 12:42:15.252 UTC [comm.grpc.server] 1 -> INFO 03e unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=4.890387ms
[ org1peer] 2022-10-03 12:42:15.433 UTC [comm.grpc.server] 1 -> INFO 03f unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=888.367µs
[ org1peer] 2022-10-03 12:42:15.649 UTC [comm.grpc.server] 1 -> INFO 040 unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=623.894µs
[ org1peer] 2022-10-03 12:42:54.702 UTC [endorser] callChaincode -> INFO 041 finished chaincode: cscc duration: 0ms channel= txID=e7335f04
[ org1peer] 2022-10-03 12:42:54.702 UTC [comm.grpc.server] 1 -> INFO 042 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=738.531µs
[ org1peer] 2022-10-03 12:42:54.847 UTC [endorser] callChaincode -> INFO 043 finished chaincode: cscc duration: 0ms channel= txID=c4e52ec6
[ org1peer] 2022-10-03 12:42:54.848 UTC [comm.grpc.server] 1 -> INFO 044 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=921.048µs
[ org1peer] 2022-10-03 12:42:55.000 UTC [endorser] callChaincode -> INFO 045 finished chaincode: lifecycle duration: 4ms channel=mychannel txID=6dc96da5
[ org1peer] 2022-10-03 12:42:55.000 UTC [comm.grpc.server] 1 -> INFO 046 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=5.111163ms
[ org1peer] 2022-10-03 12:42:55.269 UTC [couchdb] createDatabaseIfNotExist -> INFO 047 Created state database mychannel__lifecycle$$h_implicit_org
$org1$m$s$p
[ org1peer] 2022-10-03 12:42:55.284 UTC [lifecycle] CheckCommitReadiness -> INFO 048 Successfully checked commit readiness of chaincode name 'trade' on channel 'mychannel' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()}
[ org1peer] 2022-10-03 12:42:55.284 UTC [endorser] callChaincode -> INFO 049 finished chaincode: _lifecycle duration: 99ms channel=mychannel txID=0dcc98eb
[ org1peer] 2022-10-03 12:42:55.284 UTC [comm.grpc.server] 1 -> INFO 04a unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=99.820274ms
[ org1peer] 2022-10-03 12:43:03.940 UTC [comm.grpc.server] 1 -> INFO 04b unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=518.17µs
[ org1peer] 2022-10-03 12:43:04.064 UTC [endorser] callChaincode -> INFO 04c finished chaincode: cscc duration: 0ms channel= txID=d6db6511
[ org1peer] 2022-10-03 12:43:04.064 UTC [comm.grpc.server] 1 -> INFO 04d unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=636.55µs
[ org1peer] 2022-10-03 12:43:04.239 UTC [endorser] callChaincode -> INFO 04e finished chaincode: cscc duration: 0ms channel= txID=e6188720
[ org1peer] 2022-10-03 12:43:04.239 UTC [comm.grpc.server] 1 -> INFO 04f unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=892.636µs
[ org1peer] 2022-10-03 12:43:04.384 UTC [endorser] callChaincode -> INFO 050 finished chaincode: _lifecycle duration: 3ms channel=mychannel txID=5aedcf7b
[ org1peer] 2022-10-03 12:43:04.384 UTC [comm.grpc.server] 1 -> INFO 051 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=4.607113ms
[ org1peer] 2022-10-03 12:43:04.682 UTC [endorser] callChaincode -> INFO 052 finished chaincode: cscc duration: 0ms channel= txID=64b2e248
[ org1peer] 2022-10-03 12:43:04.682 UTC [comm.grpc.server] 1 -> INFO 053 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=776.703µs
[ org1peer] 2022-10-03 12:43:05.004 UTC [endorser] callChaincode -> INFO 054 finished chaincode: cscc duration: 0ms channel= txID=23473742
[ org1peer] 2022-10-03 12:43:05.004 UTC [comm.grpc.server] 1 -> INFO 055 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=598.114µs
[ org1peer] 2022-10-03 12:43:05.170 UTC [endorser] callChaincode -> INFO 056 finished chaincode: cscc duration: 0ms channel= txID=5d20cbb5
[ org1peer] 2022-10-03 12:43:05.171 UTC [comm.grpc.server] 1 -> INFO 057 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=889.048µs
[ org1peer] 2022-10-03 12:43:05.347 UTC [endorser] callChaincode -> INFO 058 finished chaincode: _lifecycle duration: 4ms channel=mychannel txID=c76b89b0
[ org1peer] 2022-10-03 12:43:05.348 UTC [comm.grpc.server] 1 -> INFO 059 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=5.217225ms
[ org1peer] 2022-10-03 12:43:05.484 UTC [endorser] callChaincode -> INFO 05a finished chaincode: cscc duration: 0ms channel= txID=8134aafe
[ org1peer] 2022-10-03 12:43:05.484 UTC [comm.grpc.server] 1 -> INFO 05b unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=881.19µs
[ org1peer] 2022-10-03 12:43:08.739 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 05c command=build
[ org1peer] 2022-10-03 12:43:08.739 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 05d > [email protected] postinstall /tmp/fabric-trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca576121203/bld/node_modules/core-js-pure command=build
[ org1peer] 2022-10-03 12:43:08.739 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 05e > node -e "try{require('./postinstall')}catch(e){}" command=build
[ org1peer] 2022-10-03 12:43:08.739 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 05f command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 060 Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 061 command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 062 The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 063 > https://opencollective.com/core-js command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 064 > https://www.patreon.com/zloirock command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 065 command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 066 Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) command=build
[ org1peer] 2022-10-03 12:43:08.780 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 067 command=build
[ org1peer] 2022-10-03 12:43:08.856 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 068 command=build
[ org1peer] 2022-10-03 12:43:08.856 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 069 > [email protected] postinstall /tmp/fabric-trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca576121203/bld/node_modules/protobufjs command=build
[ org1peer] 2022-10-03 12:43:08.856 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06a > node scripts/postinstall command=build
[ org1peer] 2022-10-03 12:43:08.856 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06b command=build
[ org1peer] 2022-10-03 12:43:08.910 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06c added 104 packages in 3.051s command=build
[ org1peer] 2022-10-03 12:43:09.194 UTC [lifecycle] InstallChaincode -> INFO 06d Successfully installed chaincode with package ID 'trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca'
[ org1peer] 2022-10-03 12:43:09.194 UTC [endorser] callChaincode -> INFO 06e finished chaincode: lifecycle duration: 4326ms channel= txID=30a3ad9d
[ org1peer] 2022-10-03 12:43:09.194 UTC [comm.grpc.server] 1 -> INFO 06f unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=4.32719006s
[ org1peer] 2022-10-03 12:43:09.432 UTC [comm.grpc.server] 1 -> INFO 070 unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=860.978µs
[ org1peer] 2022-10-03 12:43:09.521 UTC [couchdb] createDatabaseIfNotExist -> INFO 071 Created state database mychannel_lscc
[ org1peer] 2022-10-03 12:43:09.572 UTC [couchdb] createDatabaseIfNotExist -> INFO 072 Created state database mychannel__lifecycle$$p_implicit_org
$org1$m$s$p
[ org1peer] 2022-10-03 12:43:09.589 UTC [endorser] callChaincode -> INFO 073 finished chaincode: cscc duration: 0ms channel= txID=19ec2f5d
[ org1peer] 2022-10-03 12:43:09.589 UTC [comm.grpc.server] 1 -> INFO 074 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=710.611µs
[ org1peer] 2022-10-03 12:43:09.594 UTC [lifecycle] ApproveChaincodeDefinitionForOrg -> INFO 075 Successfully endorsed chaincode approval with name 'trade', package ID 'trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca', on channel 'mychannel' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()}
[ org1peer] 2022-10-03 12:43:09.594 UTC [endorser] callChaincode -> INFO 076 finished chaincode: _lifecycle duration: 135ms channel=mychannel txID=24dbea50
[ org1peer] 2022-10-03 12:43:09.599 UTC [comm.grpc.server] 1 -> INFO 077 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=140.574831ms
[ orderer] 2022-10-03 12:43:09.633 UTC [comm.grpc.server] 1 -> INFO 00c streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=127.0.0.1:41000 grpc.code=OK grpc.call_duration=1.42486ms
[ org1peer] 2022-10-03 12:43:09.747 UTC [gossip.privdata] StoreBlock -> INFO 078 Received block [2] from buffer channel=mychannel
[ org1peer] 2022-10-03 12:43:09.749 UTC [committer.txvalidator] Validate -> INFO 079 [mychannel] Validated block [2] in 2ms
[ org1peer] 2022-10-03 12:43:09.750 UTC [gossip.privdata] RetrievePvtdata -> INFO 07a Successfully fetched all 1 eligible collection private write sets for block [2] (0 from local cache, 1 from transient store, 0 from other peers) channel=mychannel
[ org1peer] 2022-10-03 12:43:09.760 UTC [endorser] callChaincode -> INFO 07b finished chaincode: cscc duration: 0ms channel= txID=a02d8208
[ org1peer] 2022-10-03 12:43:09.760 UTC [comm.grpc.server] 1 -> INFO 07c unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=854.489µs
[ org1peer] 2022-10-03 12:43:09.810 UTC [kvledger] CommitLegacy -> INFO 07d [mychannel] Committed block [2] with 1 transaction(s) in 60ms (state_validation=10ms block_and_pvtdata_commit=9ms state_commit=36ms) commitHash=[009c1f9591768c3af8c938e642b0f5d0f6be04af1ddf228cfe36c4b59ed359cd]
[ org1peer] 2022-10-03 12:43:09.859 UTC [comm.grpc.server] 1 -> INFO 07e streaming call completed grpc.service=protos.Deliver grpc.method=DeliverFiltered grpc.peer_address=127.0.0.1:44792 error="context finished before block retrieved: context canceled" grpc.code=Unknown grpc.call_duration=240.63322ms
[ org1peer] 2022-10-03 12:43:09.948 UTC [endorser] callChaincode -> INFO 07f finished chaincode: _lifecycle duration: 5ms channel=mychannel txID=ca7f5bc3
[ org1peer] 2022-10-03 12:43:09.948 UTC [comm.grpc.server] 1 -> INFO 080 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=5.81363ms
[ org1peer] 2022-10-03 12:43:10.126 UTC [comm.grpc.server] 1 -> INFO 081 unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=526.949µs
[ org1peer] 2022-10-03 12:43:10.211 UTC [endorser] callChaincode -> INFO 082 finished chaincode: cscc duration: 0ms channel= txID=9eb5fcab
[ org1peer] 2022-10-03 12:43:10.211 UTC [comm.grpc.server] 1 -> INFO 083 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=1.004372ms
[ org1peer] 2022-10-03 12:43:10.235 UTC [lifecycle] CheckCommitReadiness -> INFO 084 Successfully checked commit readiness of chaincode name 'trade' on channel 'mychannel' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()}
[ org1peer] 2022-10-03 12:43:10.237 UTC [lifecycle] CommitChaincodeDefinition -> INFO 085 Successfully endorsed commit for chaincode name 'trade' on channel 'mychannel' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()}
[ org1peer] 2022-10-03 12:43:10.237 UTC [endorser] callChaincode -> INFO 086 finished chaincode: _lifecycle duration: 21ms channel=mychannel txID=1b28209b
[ org1peer] 2022-10-03 12:43:10.238 UTC [comm.grpc.server] 1 -> INFO 087 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=22.071956ms
[ orderer] 2022-10-03 12:43:10.258 UTC [comm.grpc.server] 1 -> INFO 00d streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=127.0.0.1:41000 grpc.code=OK grpc.call_duration=729.739µs
[ org1peer] 2022-10-03 12:43:10.367 UTC [gossip.privdata] StoreBlock -> INFO 088 Received block [3] from buffer channel=mychannel
[ org1peer] 2022-10-03 12:43:10.367 UTC [committer.txvalidator] Validate -> INFO 089 [mychannel] Validated block [3] in 0ms
[ org1peer] 2022-10-03 12:43:10.371 UTC [lifecycle] update -> INFO 08a Updating cached definition for chaincode 'trade' on channel 'mychannel'
[ org1peer] 2022-10-03 12:43:10.376 UTC [lifecycle] update -> INFO 08b Chaincode with package ID 'trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca' now available on channel mychannel for chaincode definition trade:1.0.0
[ org1peer] 2022-10-03 12:43:10.402 UTC [endorser] callChaincode -> INFO 08c finished chaincode: cscc duration: 0ms channel= txID=e681f27c
[ org1peer] 2022-10-03 12:43:10.402 UTC [comm.grpc.server] 1 -> INFO 08d unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=873.927µs
[ org1peer] 2022-10-03 12:43:10.423 UTC [couchdb] createDatabaseIfNotExist -> INFO 08e Created state database mychannel_trade
[ org1peer] 2022-10-03 12:43:10.491 UTC [couchdb] createIndex -> INFO 08f Created CouchDB index [exporterIndex] in state database [mychannel_trade] using design document [_design/exporterIndexDoc]
[ org1peer] 2022-10-03 12:43:10.491 UTC [statecouchdb] ProcessIndexesForChaincodeDeploy -> INFO 090 successfully submitted index creation request present in the file [META-INF/statedb/couchdb/indexes/exporterIndex.json] for chaincode [trade] on channel [mychannel]
[ org1peer] 2022-10-03 12:43:10.502 UTC [couchdb] createIndex -> INFO 091 Created CouchDB index [importerIndex] in state database [mychannel_trade] using design document [_design/importerIndexDoc]
[ org1peer] 2022-10-03 12:43:10.502 UTC [statecouchdb] ProcessIndexesForChaincodeDeploy -> INFO 092 successfully submitted index creation request present in the file [META-INF/statedb/couchdb/indexes/importerIndex.json] for chaincode [trade] on channel [mychannel]
[ org1peer] 2022-10-03 12:43:10.515 UTC [couchdb] createIndex -> INFO 093 Created CouchDB index [regulatorIndex] in state database [mychannel_trade] using design document [_design/regulatorIndexDoc]
[ org1peer] 2022-10-03 12:43:10.515 UTC [statecouchdb] ProcessIndexesForChaincodeDeploy -> INFO 094 successfully submitted index creation request present in the file [META-INF/statedb/couchdb/indexes/regulatorIndex.json] for chaincode [trade] on channel [mychannel]
[ org1peer] 2022-10-03 12:43:10.516 UTC [cceventmgmt] HandleStateUpdates -> INFO 095 Channel [mychannel]: Handling deploy or update of chaincode [trade]
[ org1peer] 2022-10-03 12:43:10.567 UTC [kvledger] CommitLegacy -> INFO 096 [mychannel] Committed block [3] with 1 transaction(s) in 199ms (state_validation=151ms block_and_pvtdata_commit=12ms state_commit=31ms) commitHash=[f69f3de84d37a37fca5267b9d2bd4a199a96ec6b3a94a1f330cefe35b24a06fc]
[ org1peer] 2022-10-03 12:43:10.577 UTC [comm.grpc.server] 1 -> INFO 097 streaming call completed grpc.service=protos.Deliver grpc.method=DeliverFiltered grpc.peer_address=127.0.0.1:44792 error="context finished before block retrieved: context canceled" grpc.code=Unknown grpc.call_duration=325.922841ms
[ org1peer] 2022-10-03 12:43:10.584 UTC [endorser] callChaincode -> INFO 098 finished chaincode: cscc duration: 0ms channel= txID=83c8a5ef
[ org1peer] 2022-10-03 12:43:10.584 UTC [comm.grpc.server] 1 -> INFO 099 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=1.045331ms
[ org1peer] 2022-10-03 12:43:10.733 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 09a command=run
[ org1peer] 2022-10-03 12:43:10.733 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 09b > [email protected] start /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld command=run
[ org1peer] 2022-10-03 12:43:10.733 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 09c > fabric-chaincode-node start "--peer.address=172.17.0.2:2005" command=run
[ org1peer] 2022-10-03 12:43:10.733 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 09d command=run
[ org1peer] 2022-10-03 12:43:10.826 UTC [lifecycle] QueryChaincodeDefinition -> INFO 09e Successfully queried chaincode name 'trade' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()},
[ org1peer] 2022-10-03 12:43:10.827 UTC [endorser] callChaincode -> INFO 09f finished chaincode: lifecycle duration: 20ms channel=mychannel txID=ed9e794f
[ org1peer] 2022-10-03 12:43:10.827 UTC [comm.grpc.server] 1 -> INFO 0a0 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=21.046256ms
[ org1peer] 2022-10-03 12:43:10.960 UTC [endorser] callChaincode -> INFO 0a1 finished chaincode: cscc duration: 0ms channel= txID=836d38e3
[ org1peer] 2022-10-03 12:43:10.961 UTC [comm.grpc.server] 1 -> INFO 0a2 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=1.116613ms
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0a3 2022-10-03T12:43:10.962Z error [c-api:
] uncaughtException: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0a4 Require stack: command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0a5 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0a6 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0a7 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0a8 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0a9 Error: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0aa Require stack: command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0ab - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0ac - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0ad - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0ae - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0af at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b0 at Function.Module._load (internal/modules/cjs/loader.js:842:27) command=run
[ org1peer] 2022-10-03 12:43:10.964 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b1 at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-03 12:43:10.965 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b2 at require (internal/modules/cjs/helpers.js:72:18) command=run
[ org1peer] 2022-10-03 12:43:10.965 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b3 at Object. (/opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js:19:21) command=run
[ org1peer] 2022-10-03 12:43:10.965 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b4 at Module._compile (internal/modules/cjs/loader.js:1138:30) command=run
[ org1peer] 2022-10-03 12:43:10.965 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b5 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) command=run
[ org1peer] 2022-10-03 12:43:10.965 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b6 at Module.load (internal/modules/cjs/loader.js:986:32) command=run
[ org1peer] 2022-10-03 12:43:10.965 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b7 at Function.Module._load (internal/modules/cjs/loader.js:879:14) command=run
[ org1peer] 2022-10-03 12:43:10.965 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0b8 at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-03 12:43:10.974 UTC [lifecycle] Work -> WARN 0b9 could not launch chaincode 'trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca': chaincode registration failed: container exited with 0
[ org1peer] 2022-10-03 12:43:11.150 UTC [endorser] callChaincode -> INFO 0ba finished chaincode: cscc duration: 0ms channel= txID=6478ddd2
[ org1peer] 2022-10-03 12:43:11.150 UTC [comm.grpc.server] 1 -> INFO 0bb unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=670.948µs
[ org1peer] 2022-10-03 12:43:11.293 UTC [endorser] callChaincode -> INFO 0bc finished chaincode: cscc duration: 0ms channel= txID=a6faa76d
[ org1peer] 2022-10-03 12:43:11.293 UTC [comm.grpc.server] 1 -> INFO 0bd unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=807.248µs
[ org1peer] 2022-10-03 12:43:11.449 UTC [lifecycle] QueryChaincodeDefinition -> INFO 0be Successfully queried chaincode name 'trade' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()},
[ org1peer] 2022-10-03 12:43:11.449 UTC [endorser] callChaincode -> INFO 0bf finished chaincode: _lifecycle duration: 5ms channel=mychannel txID=125b7113
[ org1peer] 2022-10-03 12:43:11.449 UTC [comm.grpc.server] 1 -> INFO 0c0 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=6.281138ms
[ org1peer] 2022-10-03 12:43:11.562 UTC [endorser] callChaincode -> INFO 0c1 finished chaincode: cscc duration: 0ms channel= txID=a52ba287
[ org1peer] 2022-10-03 12:43:11.562 UTC [comm.grpc.server] 1 -> INFO 0c2 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=923.066µs
[ org1peer] 2022-10-03 12:43:44.497 UTC [endorser] callChaincode -> INFO 0c3 finished chaincode: cscc duration: 0ms channel= txID=90fa9aae
[ org1peer] 2022-10-03 12:43:44.498 UTC [comm.grpc.server] 1 -> INFO 0c4 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=983.151µs
[ org1peer] 2022-10-03 12:43:44.619 UTC [endorser] callChaincode -> INFO 0c5 finished chaincode: cscc duration: 0ms channel= txID=0b32fa96
[ org1peer] 2022-10-03 12:43:44.619 UTC [comm.grpc.server] 1 -> INFO 0c6 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=1.613539ms
[ org1peer] 2022-10-03 12:43:44.729 UTC [endorser] callChaincode -> INFO 0c7 finished chaincode: cscc duration: 0ms channel= txID=7e835c24
[ org1peer] 2022-10-03 12:43:44.729 UTC [comm.grpc.server] 1 -> INFO 0c8 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=990.138µs
[ org1peer] 2022-10-03 12:43:44.817 UTC [endorser] callChaincode -> INFO 0c9 finished chaincode: cscc duration: 0ms channel= txID=f76af5b8
[ org1peer] 2022-10-03 12:43:44.817 UTC [comm.grpc.server] 1 -> INFO 0ca unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=848.581µs
[ org1peer] 2022-10-03 12:43:44.975 UTC [lifecycle] QueryChaincodeDefinition -> INFO 0cb Successfully queried chaincode name 'trade' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()},
[ org1peer] 2022-10-03 12:43:44.975 UTC [endorser] callChaincode -> INFO 0cc finished chaincode: lifecycle duration: 5ms channel=mychannel txID=27cbb77d
[ org1peer] 2022-10-03 12:43:44.975 UTC [comm.grpc.server] 1 -> INFO 0cd unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=5.656456ms
[ org1peer] 2022-10-03 12:43:59.481 UTC [comm.grpc.server] 1 -> INFO 0ce unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=832.534µs
[ org1peer] 2022-10-03 12:43:59.751 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0cf command=run
[ org1peer] 2022-10-03 12:43:59.751 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d0 > [email protected] start /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld command=run
[ org1peer] 2022-10-03 12:43:59.751 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d1 > fabric-chaincode-node start "--peer.address=172.17.0.2:2005" command=run
[ org1peer] 2022-10-03 12:43:59.751 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d2 command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d3 2022-10-03T12:43:59.923Z error [c-api:
] uncaughtException: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d4 Require stack: command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d5 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d6 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d7 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d8 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0d9 Error: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0da Require stack: command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0db - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0dc - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0dd - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0de - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0df at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e0 at Function.Module._load (internal/modules/cjs/loader.js:842:27) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e1 at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e2 at require (internal/modules/cjs/helpers.js:72:18) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e3 at Object. (/opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js:19:21) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e4 at Module._compile (internal/modules/cjs/loader.js:1138:30) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e5 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e6 at Module.load (internal/modules/cjs/loader.js:986:32) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e7 at Function.Module._load (internal/modules/cjs/loader.js:879:14) command=run
[ org1peer] 2022-10-03 12:43:59.924 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 0e8 at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-03 12:43:59.936 UTC [endorser] callChaincode -> INFO 0e9 finished chaincode: trade duration: 428ms channel=mychannel txID=fb369ab1
[ org1peer] 2022-10-03 12:43:59.936 UTC [endorser] SimulateProposal -> ERRO 0ea failed to invoke chaincode trade, error: container exited with 0
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:118
[ org1peer] runtime.goexit
[ org1peer] /usr/local/go/src/runtime/asm_amd64.s:1373
[ org1peer] chaincode registration failed
[ org1peer] could not launch chaincode trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Launch
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:85
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Invoke
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:197
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:155
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/support.go:126
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:119
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).SimulateProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:187
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposalSuccessfullyOrError
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:397
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:340
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*expirationCheckFilter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/expiration.go:61
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*filter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/filter.go:32
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:107
[ org1peer] github.com/hyperledger/fabric/internal/peer/node.unaryGrpcLimiter.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/internal/peer/node/grpc_limiters.go:51
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpclogging.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpclogging/server.go:92
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpcmetrics.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpcmetrics/interceptor.go:31
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:34
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:109
[ org1peer] google.golang.org/grpc.(*Server).processUnaryRPC
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1082
[ org1peer] google.golang.org/grpc.(*Server).handleStream
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1405
[ org1peer] google.golang.org/grpc.(*Server).serveStreams.func1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:746
[ org1peer] runtime.goexit
[ org1peer] /usr/local/go/src/runtime/asm_amd64.s:1373
[ org1peer] failed to execute transaction fb369ab14a6906b2eb870a5e74df4396b85b242c3e6a3f09e6ed4a69380af6e3
[ org1peer] github.com/hyperledger/fabric/core/chaincode.processChaincodeExecutionResult
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:161
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:156
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/support.go:126
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:119
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).SimulateProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:187
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposalSuccessfullyOrError
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:397
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:340
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*expirationCheckFilter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/expiration.go:61
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*filter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/filter.go:32
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:107
[ org1peer] github.com/hyperledger/fabric/internal/peer/node.unaryGrpcLimiter.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/internal/peer/node/grpc_limiters.go:51
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpclogging.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpclogging/server.go:92
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpcmetrics.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpcmetrics/interceptor.go:31
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:34
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:109
[ org1peer] google.golang.org/grpc.(*Server).processUnaryRPC
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1082
[ org1peer] google.golang.org/grpc.(*Server).handleStream
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1405
[ org1peer] google.golang.org/grpc.(*Server).serveStreams.func1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:746
[ org1peer] runtime.goexit
[ org1peer] /usr/local/go/src/runtime/asm_amd64.s:1373 channel=mychannel txID=fb369ab1
[ org1peer] 2022-10-03 12:43:59.936 UTC [comm.grpc.server] 1 -> INFO 0eb unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:44792 grpc.code=OK grpc.call_duration=428.886491ms
[ microfabd] 2022/10/03 12:48:12 Stopping Microfab due to signal ...
[ microfabd] 2022/10/03 12:48:12 Microfab stopped
[ microfabd] 2022/10/10 09:15:19 Starting Microfab ...
[ microfabd] 2022/10/10 09:15:19 Loaded state
[ microfabd] 2022/10/10 09:15:19 Creating endorsing organization Org1 ...
[ microfabd] 2022/10/10 09:15:19 Creating ordering organization Orderer ...
[ microfabd] 2022/10/10 09:15:19 Created ordering organization Orderer
[ microfabd] 2022/10/10 09:15:19 Created endorsing organization Org1
[ microfabd] 2022/10/10 09:15:19 Waiting for CouchDB to start ...
[ microfabd] 2022/10/10 09:15:21 CouchDB has started
[ microfabd] 2022/10/10 09:15:21 Creating and starting orderer for ordering organization Orderer ...
[ microfabd] 2022/10/10 09:15:21 Creating and starting peer for endorsing organization Org1 ...
[ microfabd] 2022/10/10 09:15:21 Creating and starting CA for endorsing organization Org1 ...
[ microfabd] 2022/10/10 09:15:21 Creating and starting CouchDB proxy for endorsing organization Org1 ...
[ org1ca] 2022/10/10 09:15:21 [INFO] Configuration file location: /opt/microfab/data/ca-org1/fabric-ca-server-config.yaml
[ orderer] 2022-10-10 09:15:21.595 UTC [localconfig] completeInitialization -> INFO 001 Kafka.Version unset, setting to 0.10.2.0
[ orderer] 2022-10-10 09:15:21.597 UTC [orderer.common.server] prettyPrintStruct -> INFO 002 Orderer config values:
[ orderer] General.ListenAddress = "0.0.0.0"
[ orderer] General.ListenPort = 2002
[ orderer] General.TLS.Enabled = false
[ orderer] General.TLS.PrivateKey = "/opt/fabric/config/tls/server.key"
[ orderer] General.TLS.Certificate = "/opt/fabric/config/tls/server.crt"
[ orderer] General.TLS.RootCAs = [/opt/fabric/config/tls/ca.crt]
[ orderer] General.TLS.ClientAuthRequired = false
[ orderer] General.TLS.ClientRootCAs = []
[ orderer] General.TLS.TLSHandshakeTimeShift = 0s
[ orderer] General.Cluster.ListenAddress = ""
[ orderer] General.Cluster.ListenPort = 0
[ orderer] General.Cluster.ServerCertificate = ""
[ orderer] General.Cluster.ServerPrivateKey = ""
[ orderer] General.Cluster.ClientCertificate = ""
[ orderer] General.Cluster.ClientPrivateKey = ""
[ orderer] General.Cluster.RootCAs = []
[ orderer] General.Cluster.DialTimeout = 5s
[ orderer] General.Cluster.RPCTimeout = 7s
[ orderer] General.Cluster.ReplicationBufferSize = 20971520
[ orderer] General.Cluster.ReplicationPullTimeout = 5s
[ orderer] General.Cluster.ReplicationRetryTimeout = 5s
[ orderer] General.Cluster.ReplicationBackgroundRefreshInterval = 5m0s
[ orderer] General.Cluster.ReplicationMaxRetries = 12
[ orderer] General.Cluster.SendBufferSize = 10
[ orderer] General.Cluster.CertExpirationWarningThreshold = 168h0m0s
[ orderer] General.Cluster.TLSHandshakeTimeShift = 0s
[ orderer] General.Keepalive.ServerMinInterval = 1m0s
[ orderer] General.Keepalive.ServerInterval = 2h0m0s
[ orderer] General.Keepalive.ServerTimeout = 20s
[ orderer] General.ConnectionTimeout = 0s
[ orderer] General.GenesisMethod = ""
[ orderer] General.GenesisFile = ""
[ orderer] General.BootstrapMethod = "file"
[ orderer] General.BootstrapFile = "/opt/microfab/data/orderer/config/genesisblock"
[ orderer] General.Profile.Enabled = false
[ orderer] General.Profile.Address = "0.0.0.0:6060"
[ orderer] General.LocalMSPDir = "/opt/microfab/data/orderer/msp"
[ orderer] General.LocalMSPID = "OrdererMSP"
[ orderer] General.BCCSP.ProviderName = "SW"
[ orderer] General.BCCSP.SwOpts.SecLevel = 256
[ orderer] General.BCCSP.SwOpts.HashFamily = "SHA2"
[ orderer] General.BCCSP.SwOpts.FileKeystore.KeyStorePath = ""
[ orderer] General.BCCSP.SwOpts.DummyKeystore =
[ orderer] General.BCCSP.SwOpts.InmemKeystore =
[ orderer] General.Authentication.TimeWindow = 15m0s
[ orderer] General.Authentication.NoExpirationChecks = false
[ orderer] FileLedger.Location = "/opt/microfab/data/orderer/data"
[ orderer] FileLedger.Prefix = "hyperledger-fabric-ordererledger"
[ orderer] Kafka.Retry.ShortInterval = 5s
[ orderer] Kafka.Retry.ShortTotal = 10m0s
[ orderer] Kafka.Retry.LongInterval = 5m0s
[ orderer] Kafka.Retry.LongTotal = 12h0m0s
[ orderer] Kafka.Retry.NetworkTimeouts.DialTimeout = 10s
[ orderer] Kafka.Retry.NetworkTimeouts.ReadTimeout = 10s
[ orderer] Kafka.Retry.NetworkTimeouts.WriteTimeout = 10s
[ orderer] Kafka.Retry.Metadata.RetryMax = 3
[ orderer] Kafka.Retry.Metadata.RetryBackoff = 250ms
[ orderer] Kafka.Retry.Producer.RetryMax = 3
[ orderer] Kafka.Retry.Producer.RetryBackoff = 100ms
[ orderer] Kafka.Retry.Consumer.RetryBackoff = 2s
[ orderer] Kafka.Verbose = false
[ orderer] Kafka.Version = 0.10.2.0
[ orderer] Kafka.TLS.Enabled = false
[ orderer] Kafka.TLS.PrivateKey = ""
[ orderer] Kafka.TLS.Certificate = ""
[ orderer] Kafka.TLS.RootCAs = []
[ orderer] Kafka.TLS.ClientAuthRequired = false
[ orderer] Kafka.TLS.ClientRootCAs = []
[ orderer] Kafka.TLS.TLSHandshakeTimeShift = 0s
[ orderer] Kafka.SASLPlain.Enabled = false
[ orderer] Kafka.SASLPlain.User = ""
[ orderer] Kafka.SASLPlain.Password = ""
[ orderer] Kafka.Topic.ReplicationFactor = 3
[ orderer] Debug.BroadcastTraceDir = ""
[ orderer] Debug.DeliverTraceDir = ""
[ orderer] Consensus = map[SnapDir:/opt/microfab/data/orderer/data/etcdraft/snapshot WALDir:/opt/microfab/data/orderer/data/etcdraft/wal]
[ orderer] Operations.ListenAddress = "0.0.0.0:2003"
[ orderer] Operations.TLS.Enabled = false
[ orderer] Operations.TLS.PrivateKey = ""
[ orderer] Operations.TLS.Certificate = ""
[ orderer] Operations.TLS.RootCAs = []
[ orderer] Operations.TLS.ClientAuthRequired = false
[ orderer] Operations.TLS.ClientRootCAs = []
[ orderer] Operations.TLS.TLSHandshakeTimeShift = 0s
[ orderer] Metrics.Provider = "prometheus"
[ orderer] Metrics.Statsd.Network = "udp"
[ orderer] Metrics.Statsd.Address = "127.0.0.1:8125"
[ orderer] Metrics.Statsd.WriteInterval = 30s
[ orderer] Metrics.Statsd.Prefix = ""
[ orderer] ChannelParticipation.Enabled = false
[ orderer] ChannelParticipation.RemoveStorage = false
[ org1ca] 2022/10/10 09:15:21 [INFO] Starting server in home directory: /opt/microfab/data/ca-org1
[ org1ca] 2022/10/10 09:15:21 [INFO] Server Version: 1.4.9
[ org1ca] 2022/10/10 09:15:21 [INFO] Server Levels: &{Identity:2 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1}
[ org1peer] 2022-10-10 09:15:21.635 UTC [nodeCmd] serve -> INFO 001 Starting peer:
[ org1peer] Version: 2.2.2
[ org1peer] Commit SHA: bebb75fd1
[ org1peer] Go version: go1.14.12
[ org1peer] OS/Arch: linux/amd64
[ org1peer] Chaincode:
[ org1peer] Base Docker Label: org.hyperledger.fabric
[ org1peer] Docker Namespace: hyperledger
[ org1ca] 2022/10/10 09:15:21 [INFO] The CA key and certificate files already exist
[ org1ca] 2022/10/10 09:15:21 [INFO] Key file location: /opt/microfab/data/ca-org1/ca-key.pem
[ org1ca] 2022/10/10 09:15:21 [INFO] Certificate file location: /opt/microfab/data/ca-org1/ca-cert.pem
[ org1peer] 2022-10-10 09:15:21.636 UTC [peer] getLocalAddress -> INFO 002 Auto-detected peer address: 172.17.0.2:2004
[ org1peer] 2022-10-10 09:15:21.638 UTC [peer] getLocalAddress -> INFO 003 Host is 0.0.0.0 , falling back to auto-detected address: 172.17.0.2:2004
[ orderer] 2022-10-10 09:15:21.645 UTC [orderer.common.server] Main -> INFO 003 Not bootstrapping the system channel because of existing channels
[ org1peer] 2022-10-10 09:15:21.646 UTC [nodeCmd] initGrpcSemaphores -> INFO 004 concurrency limit for endorser service is 2500
[ org1peer] 2022-10-10 09:15:21.646 UTC [nodeCmd] initGrpcSemaphores -> INFO 005 concurrency limit for deliver service is 2500
[ org1ca] 2022/10/10 09:15:21 [INFO] Initialized sqlite3 database at /opt/microfab/data/ca-org1/fabric-ca-server.db
[ org1ca] 2022/10/10 09:15:21 [INFO] The Idemix issuer public and secret key files already exist
[ org1ca] 2022/10/10 09:15:21 [INFO] secret key file location: /opt/microfab/data/ca-org1/msp/keystore/IssuerSecretKey
[ org1ca] 2022/10/10 09:15:21 [INFO] public key file location: /opt/microfab/data/ca-org1/IssuerPublicKey
[ orderer] 2022-10-10 09:15:21.671 UTC [orderer.common.server] selectClusterBootBlock -> INFO 004 Cluster boot block is bootstrap (genesis) block; Blocks Header.Number system-channel=0, bootstrap=0
[ orderer] 2022-10-10 09:15:21.673 UTC [orderer.common.server] Main -> INFO 005 Starting with system channel: testchainid, consensus type: solo
[ orderer] 2022-10-10 09:15:21.674 UTC [certmonitor] trackCertExpiration -> INFO 006 The enrollment certificate will expire on 2032-10-07 09:10:21 +0000 UTC
[ orderer] 2022-10-10 09:15:21.680 UTC [orderer.consensus.solo] HandleChain -> WARN 007 Use of the Solo orderer is deprecated and remains only for use in test environments but may be removed in the future.
[ org1peer] 2022-10-10 09:15:21.681 UTC [certmonitor] trackCertExpiration -> INFO 006 The enrollment certificate will expire on 2032-10-07 09:10:21 +0000 UTC
[ orderer] 2022-10-10 09:15:21.682 UTC [orderer.consensus.solo] HandleChain -> WARN 008 Use of the Solo orderer is deprecated and remains only for use in test environments but may be removed in the future.
[ orderer] 2022-10-10 09:15:21.682 UTC [orderer.commmon.multichannel] Initialize -> INFO 009 Starting system channel 'testchainid' with genesis block hash 16e92d958ad339d10e0283118f2887ba363206dad5bbdcdd52ae304978ddc44a and orderer type solo
[ orderer] 2022-10-10 09:15:21.683 UTC [orderer.common.server] Main -> INFO 00a Starting orderer:
[ orderer] Version: 2.2.2
[ orderer] Commit SHA: bebb75fd1
[ orderer] Go version: go1.14.12
[ orderer] OS/Arch: linux/amd64
[ orderer] 2022-10-10 09:15:21.683 UTC [orderer.common.server] Main -> INFO 00b Beginning to serve requests
[ org1peer] 2022-10-10 09:15:21.685 UTC [ledgermgmt] NewLedgerMgr -> INFO 007 Initializing LedgerMgr
[ org1ca] 2022/10/10 09:15:21 [INFO] The Idemix issuer revocation public and secret key files already exist
[ org1ca] 2022/10/10 09:15:21 [INFO] private key file location: /opt/microfab/data/ca-org1/msp/keystore/IssuerRevocationPrivateKey
[ org1ca] 2022/10/10 09:15:21 [INFO] public key file location: /opt/microfab/data/ca-org1/IssuerRevocationPublicKey
[ org1ca] 2022/10/10 09:15:21 [INFO] Home directory for default CA: /opt/microfab/data/ca-org1
[ org1ca] 2022/10/10 09:15:21 [INFO] Operation Server Listening on [::]:2001
[ org1ca] 2022/10/10 09:15:21 [INFO] Listening on http://0.0.0.0:2000
[ microfabd] 2022/10/10 09:15:21 Created and started orderer for ordering organization Orderer
[ org1peer] 2022-10-10 09:15:21.919 UTC [ledgermgmt] NewLedgerMgr -> INFO 008 Initialized LedgerMgr
[ org1peer] 2022-10-10 09:15:21.927 UTC [gossip.service] New -> INFO 009 Initialize gossip with endpoint org1peer-api.127-0-0-1.nip.io:8080
[ org1peer] 2022-10-10 09:15:21.929 UTC [gossip.gossip] New -> INFO 00a Creating gossip service with self membership of Endpoint: org1peer-api.127-0-0-1.nip.io:8080, InternalEndpoint: org1peer-api.127-0-0-1.nip.io:8080, PKI-ID: de62e3d7bd832da50b685078f68efb49d52c8bc322d7e13f1477d86b9815b306, Metadata:
[ org1peer] 2022-10-10 09:15:21.929 UTC [gossip.gossip] start -> INFO 00b Gossip instance org1peer-api.127-0-0-1.nip.io:8080 started
[ org1peer] 2022-10-10 09:15:21.933 UTC [lifecycle] InitializeLocalChaincodes -> INFO 00c Initialized lifecycle cache with 1 already installed chaincodes
[ org1peer] 2022-10-10 09:15:21.934 UTC [nodeCmd] computeChaincodeEndpoint -> INFO 00d Entering computeChaincodeEndpoint with peerHostname: 172.17.0.2
[ org1peer] 2022-10-10 09:15:21.934 UTC [nodeCmd] computeChaincodeEndpoint -> INFO 00e Exit with ccEndpoint: 172.17.0.2:2005
[ org1peer] 2022-10-10 09:15:21.938 UTC [sccapi] DeploySysCC -> INFO 00f deploying system chaincode 'lscc'
[ org1peer] 2022-10-10 09:15:21.940 UTC [sccapi] DeploySysCC -> INFO 010 deploying system chaincode 'cscc'
[ org1peer] 2022-10-10 09:15:21.940 UTC [sccapi] DeploySysCC -> INFO 011 deploying system chaincode 'qscc'
[ org1peer] 2022-10-10 09:15:21.940 UTC [sccapi] DeploySysCC -> INFO 012 deploying system chaincode 'lifecycle'
[ org1peer] 2022-10-10 09:15:21.940 UTC [nodeCmd] serve -> INFO 013 Deployed system chaincodes
[ org1peer] 2022-10-10 09:15:21.941 UTC [peer] Initialize -> INFO 014 Loading chain mychannel
[ org1peer] 2022-10-10 09:15:21.941 UTC [ledgermgmt] OpenLedger -> INFO 015 Opening ledger with id = mychannel
[ org1peer] 2022-10-10 09:15:22.027 UTC [lifecycle] update -> INFO 016 Updating cached definition for chaincode 'trade' on channel 'mychannel'
[ org1ca] 2022/10/10 09:15:22 [INFO] signed certificate with serial number 309013512379271328660299943445813691319496289472
[ org1ca] 2022/10/10 09:15:22 [INFO] 127.0.0.1:50224 POST /enroll 201 0 "OK"
[ microfabd] 2022/10/10 09:15:22 Created and started CA for endorsing organization Org1
[ org1peer] 2022-10-10 09:15:22.082 UTC [lifecycle] update -> INFO 017 Chaincode with package ID 'trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca' now available on channel mychannel for chaincode definition trade:1.0.0
[ org1peer] 2022-10-10 09:15:22.088 UTC [ledgermgmt] OpenLedger -> INFO 018 Opened ledger with id = mychannel
[ org1peer] 2022-10-10 09:15:22.109 UTC [gossip.gossip] JoinChan -> INFO 019 Joining gossip network of channel mychannel with 1 organizations
[ org1peer] 2022-10-10 09:15:22.109 UTC [gossip.gossip] learnAnchorPeers -> INFO 01a Learning about the configured anchor peers of Org1MSP for channel mychannel: [{org1peer-api.127-0-0-1.nip.io 8080}]
[ org1peer] 2022-10-10 09:15:22.109 UTC [gossip.gossip] learnAnchorPeers -> INFO 01b Anchor peer for channel mychannel with same endpoint, skipping connecting to myself
[ org1peer] 2022-10-10 09:15:22.113 UTC [gossip.state] NewGossipStateProvider -> INFO 01c Updating metadata information for channel mychannel, current ledger sequence is at = 3, next expected block is = 4
[ org1peer] 2022-10-10 09:15:22.113 UTC [deliveryClient] StartDeliverForChannel -> INFO 01d This peer will retrieve blocks from ordering service and disseminate to other peers in the organization for channel mychannel
[ org1peer] 2022-10-10 09:15:22.113 UTC [discovery] NewService -> INFO 01e Created with config TLS: false, authCacheMaxSize: 1000, authCachePurgeRatio: 0.750000
[ org1peer] 2022-10-10 09:15:22.113 UTC [nodeCmd] registerDiscoveryService -> INFO 01f Discovery service activated
[ org1peer] 2022-10-10 09:15:22.113 UTC [nodeCmd] serve -> INFO 020 Starting peer with ID=[org1peer], network ID=[dev], address=[172.17.0.2:2004]
[ org1peer] 2022-10-10 09:15:22.114 UTC [nodeCmd] serve -> INFO 021 Started peer with ID=[org1peer], network ID=[dev], address=[172.17.0.2:2004]
[ org1peer] 2022-10-10 09:15:22.114 UTC [kvledger] LoadPreResetHeight -> INFO 022 Loading prereset height from path [/opt/microfab/data/peer-org1/data/ledgersData/chains]
[ org1peer] 2022-10-10 09:15:22.166 UTC [endorser] callChaincode -> INFO 023 finished chaincode: cscc duration: 0ms channel= txID=658d84dc
[ org1peer] 2022-10-10 09:15:22.167 UTC [comm.grpc.server] 1 -> INFO 024 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.request_deadline=2022-10-10T09:15:51.97Z grpc.peer_address=127.0.0.1:53544 grpc.code=OK grpc.call_duration=2.131209ms
[ microfabd] 2022/10/10 09:15:22 Created and started peer for endorsing organization Org1
[ microfabd] 2022/10/10 09:15:22 Microfab started in 2466ms
[ org1peer] 2022-10-10 09:15:22.920 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 025 command=run
[ org1peer] 2022-10-10 09:15:22.920 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 026 > [email protected] start /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld command=run
[ org1peer] 2022-10-10 09:15:22.920 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 027 > fabric-chaincode-node start "--peer.address=172.17.0.2:2005" command=run
[ org1peer] 2022-10-10 09:15:22.920 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 028 command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 029 2022-10-10T09:15:23.331Z error [c-api:
] uncaughtException: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 02a Require stack: command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 02b - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 02c - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 02d - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 02e - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 02f Error: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 030 Require stack: command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 031 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 032 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 033 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 034 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 035 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 036 at Function.Module._load (internal/modules/cjs/loader.js:842:27) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 037 at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 038 at require (internal/modules/cjs/helpers.js:72:18) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 039 at Object. (/opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js:19:21) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 03a at Module._compile (internal/modules/cjs/loader.js:1138:30) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 03b at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 03c at Module.load (internal/modules/cjs/loader.js:986:32) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 03d at Function.Module._load (internal/modules/cjs/loader.js:879:14) command=run
[ org1peer] 2022-10-10 09:15:23.333 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 03e at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-10 09:15:23.345 UTC [lifecycle] Work -> WARN 03f could not launch chaincode 'trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca': chaincode registration failed: container exited with 0
[ org1peer] 2022-10-10 09:15:25.464 UTC [endorser] callChaincode -> INFO 040 finished chaincode: cscc duration: 0ms channel= txID=87b31083
[ org1peer] 2022-10-10 09:15:25.464 UTC [comm.grpc.server] 1 -> INFO 041 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=849.387µs
[ org1peer] 2022-10-10 09:15:25.734 UTC [endorser] callChaincode -> INFO 042 finished chaincode: cscc duration: 0ms channel= txID=5e5be6ad
[ org1peer] 2022-10-10 09:15:25.734 UTC [comm.grpc.server] 1 -> INFO 043 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=739.545µs
[ org1peer] 2022-10-10 09:15:25.972 UTC [endorser] callChaincode -> INFO 044 finished chaincode: cscc duration: 4ms channel= txID=98c816fe
[ org1peer] 2022-10-10 09:15:25.972 UTC [comm.grpc.server] 1 -> INFO 045 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=4.751051ms
[ org1peer] 2022-10-10 09:15:26.210 UTC [lifecycle] QueryChaincodeDefinition -> INFO 046 Successfully queried chaincode name 'trade' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()},
[ org1peer] 2022-10-10 09:15:26.211 UTC [endorser] callChaincode -> INFO 047 finished chaincode: _lifecycle duration: 10ms channel=mychannel txID=d527e821
[ org1peer] 2022-10-10 09:15:26.211 UTC [comm.grpc.server] 1 -> INFO 048 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=10.819145ms
[ org1peer] 2022-10-10 09:15:26.370 UTC [endorser] callChaincode -> INFO 049 finished chaincode: cscc duration: 0ms channel= txID=03337cd5
[ org1peer] 2022-10-10 09:15:26.370 UTC [comm.grpc.server] 1 -> INFO 04a unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=964.159µs
[ org1peer] 2022-10-10 09:15:29.565 UTC [endorser] callChaincode -> INFO 04b finished chaincode: cscc duration: 0ms channel= txID=fa437306
[ org1peer] 2022-10-10 09:15:29.565 UTC [comm.grpc.server] 1 -> INFO 04c unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=914.318µs
[ org1peer] 2022-10-10 09:15:29.722 UTC [endorser] callChaincode -> INFO 04d finished chaincode: cscc duration: 0ms channel= txID=4555509a
[ org1peer] 2022-10-10 09:15:29.722 UTC [comm.grpc.server] 1 -> INFO 04e unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=1.027152ms
[ org1peer] 2022-10-10 09:15:29.895 UTC [endorser] callChaincode -> INFO 04f finished chaincode: cscc duration: 0ms channel= txID=63a4ba3e
[ org1peer] 2022-10-10 09:15:29.895 UTC [comm.grpc.server] 1 -> INFO 050 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=997.155µs
[ org1peer] 2022-10-10 09:15:30.084 UTC [lifecycle] QueryChaincodeDefinition -> INFO 051 Successfully queried chaincode name 'trade' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()},
[ org1peer] 2022-10-10 09:15:30.084 UTC [endorser] callChaincode -> INFO 052 finished chaincode: _lifecycle duration: 6ms channel=mychannel txID=2a85b2e7
[ org1peer] 2022-10-10 09:15:30.085 UTC [comm.grpc.server] 1 -> INFO 053 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=7.761094ms
[ org1peer] 2022-10-10 09:15:30.330 UTC [comm.grpc.server] 1 -> INFO 054 unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=486.057µs
[ org1peer] 2022-10-10 09:15:30.537 UTC [comm.grpc.server] 1 -> INFO 055 unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=578.016µs
[ org1peer] 2022-10-10 09:18:46.411 UTC [endorser] callChaincode -> INFO 056 finished chaincode: cscc duration: 0ms channel= txID=7de6e50f
[ org1peer] 2022-10-10 09:18:46.411 UTC [comm.grpc.server] 1 -> INFO 057 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=1.032685ms
[ org1peer] 2022-10-10 09:18:46.522 UTC [endorser] callChaincode -> INFO 058 finished chaincode: cscc duration: 1ms channel= txID=c130cf02
[ org1peer] 2022-10-10 09:18:46.522 UTC [comm.grpc.server] 1 -> INFO 059 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=2.614081ms
[ org1peer] 2022-10-10 09:18:46.666 UTC [endorser] callChaincode -> INFO 05a finished chaincode: cscc duration: 0ms channel= txID=78455695
[ org1peer] 2022-10-10 09:18:46.666 UTC [comm.grpc.server] 1 -> INFO 05b unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=1.295057ms
[ org1peer] 2022-10-10 09:18:46.772 UTC [endorser] callChaincode -> INFO 05c finished chaincode: cscc duration: 0ms channel= txID=f5f5ee35
[ org1peer] 2022-10-10 09:18:46.773 UTC [comm.grpc.server] 1 -> INFO 05d unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=1.145419ms
[ org1peer] 2022-10-10 09:18:46.939 UTC [lifecycle] QueryChaincodeDefinition -> INFO 05e Successfully queried chaincode name 'trade' with definition {sequence: 1, endorsement info: (version: '1.0.0', plugin: 'escc', init required: false), validation info: (plugin: 'vscc', policy: '12202f4368616e6e656c2f4170706c69636174696f6e2f456e646f7273656d656e74'), collections: ()},
[ org1peer] 2022-10-10 09:18:46.939 UTC [endorser] callChaincode -> INFO 05f finished chaincode: lifecycle duration: 13ms channel=mychannel txID=1e55007f
[ org1peer] 2022-10-10 09:18:46.939 UTC [comm.grpc.server] 1 -> INFO 060 unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=14.154129ms
[ org1peer] 2022-10-10 09:18:49.103 UTC [comm.grpc.server] 1 -> INFO 061 unary call completed grpc.service=discovery.Discovery grpc.method=Discover grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=796.106µs
[ org1peer] 2022-10-10 09:18:49.412 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 062 command=run
[ org1peer] 2022-10-10 09:18:49.412 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 063 > [email protected] start /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld command=run
[ org1peer] 2022-10-10 09:18:49.412 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 064 > fabric-chaincode-node start "--peer.address=172.17.0.2:2005" command=run
[ org1peer] 2022-10-10 09:18:49.412 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 065 command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 066 2022-10-10T09:18:49.581Z error [c-api:
] uncaughtException: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 067 Require stack: command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 068 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 069 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06a - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06b - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06c Error: Cannot find module 'y18n' command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06d Require stack: command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06e - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 06f - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/yargs.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 070 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/index.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 071 - /opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/fabric-shim/cli.js command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 072 at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 073 at Function.Module._load (internal/modules/cjs/loader.js:842:27) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 074 at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 075 at require (internal/modules/cjs/helpers.js:72:18) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 076 at Object. (/opt/microfab/data/peer-org1/data/externalbuilder/builds/trade_1.0.0-1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca/bld/node_modules/yargs/build/lib/yargs.js:19:21) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 077 at Module._compile (internal/modules/cjs/loader.js:1138:30) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 078 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 079 at Module.load (internal/modules/cjs/loader.js:986:32) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 07a at Function.Module._load (internal/modules/cjs/loader.js:879:14) command=run
[ org1peer] 2022-10-10 09:18:49.582 UTC [chaincode.externalbuilder.node] waitForExit -> INFO 07b at Module.require (internal/modules/cjs/loader.js:1026:19) command=run
[ org1peer] 2022-10-10 09:18:49.592 UTC [endorser] callChaincode -> INFO 07c finished chaincode: trade duration: 460ms channel=mychannel txID=e6f91443
[ org1peer] 2022-10-10 09:18:49.593 UTC [endorser] SimulateProposal -> ERRO 07d failed to invoke chaincode trade, error: container exited with 0
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*RuntimeLauncher).Launch.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/runtime_launcher.go:118
[ org1peer] runtime.goexit
[ org1peer] /usr/local/go/src/runtime/asm_amd64.s:1373
[ org1peer] chaincode registration failed
[ org1peer] could not launch chaincode trade_1.0.0:1dfbb3c99cdc2da327a7faeff4758801b42bb46b9525201d52a1609b4b28faca
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Launch
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:85
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Invoke
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:197
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:155
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/support.go:126
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:119
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).SimulateProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:187
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposalSuccessfullyOrError
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:397
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:340
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*expirationCheckFilter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/expiration.go:61
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*filter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/filter.go:32
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:107
[ org1peer] github.com/hyperledger/fabric/internal/peer/node.unaryGrpcLimiter.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/internal/peer/node/grpc_limiters.go:51
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpclogging.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpclogging/server.go:92
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpcmetrics.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpcmetrics/interceptor.go:31
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:34
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:109
[ org1peer] google.golang.org/grpc.(*Server).processUnaryRPC
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1082
[ org1peer] google.golang.org/grpc.(*Server).handleStream
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1405
[ org1peer] google.golang.org/grpc.(*Server).serveStreams.func1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:746
[ org1peer] runtime.goexit
[ org1peer] /usr/local/go/src/runtime/asm_amd64.s:1373
[ org1peer] failed to execute transaction e6f9144324068c265a147388fd33527f0e5ccf1872902c37c8ba5a2cd072bcb0
[ org1peer] github.com/hyperledger/fabric/core/chaincode.processChaincodeExecutionResult
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:161
[ org1peer] github.com/hyperledger/fabric/core/chaincode.(*ChaincodeSupport).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/chaincode/chaincode_support.go:156
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*SupportImpl).Execute
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/support.go:126
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).callChaincode
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:119
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).SimulateProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:187
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposalSuccessfullyOrError
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:397
[ org1peer] github.com/hyperledger/fabric/core/endorser.(*Endorser).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/endorser/endorser.go:340
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*expirationCheckFilter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/expiration.go:61
[ org1peer] github.com/hyperledger/fabric/core/handlers/auth/filter.(*filter).ProcessProposal
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/core/handlers/auth/filter/filter.go:32
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:107
[ org1peer] github.com/hyperledger/fabric/internal/peer/node.unaryGrpcLimiter.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/internal/peer/node/grpc_limiters.go:51
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpclogging.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpclogging/server.go:92
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/hyperledger/fabric/common/grpcmetrics.UnaryServerInterceptor.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/common/grpcmetrics/interceptor.go:31
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1.1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:25
[ org1peer] github.com/grpc-ecosystem/go-grpc-middleware.ChainUnaryServer.func1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/grpc-ecosystem/go-grpc-middleware/chain.go:34
[ org1peer] github.com/hyperledger/fabric-protos-go/peer._Endorser_ProcessProposal_Handler
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/github.com/hyperledger/fabric-protos-go/peer/peer.pb.go:109
[ org1peer] google.golang.org/grpc.(*Server).processUnaryRPC
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1082
[ org1peer] google.golang.org/grpc.(*Server).handleStream
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:1405
[ org1peer] google.golang.org/grpc.(*Server).serveStreams.func1.1
[ org1peer] /__w/1/go/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/server.go:746
[ org1peer] runtime.goexit
[ org1peer] /usr/local/go/src/runtime/asm_amd64.s:1373 channel=mychannel txID=e6f91443
[ org1peer] 2022-10-10 09:18:49.593 UTC [comm.grpc.server] 1 -> INFO 07e unary call completed grpc.service=protos.Endorser grpc.method=ProcessProposal grpc.peer_address=127.0.0.1:53584 grpc.code=OK grpc.call_duration=461.015621ms

from trade-network.

ldesrosi avatar ldesrosi commented on July 17, 2024

@sravanmutya did you downgrade your node version to v16.14?

In the logs you posted, I saw this error:

uncaughtException: Cannot find module 'y18n' command=run

Running with v16.14. I am able to deploy the trade smart contract and I can see all functions.

from trade-network.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.