siddhantprateek / tractionx

TractionX is a sample real estate transaction platform that uses the Hyperledger Fabric Raft protocol for secure and efficient property transactions.
MIT License
0 stars 0 forks source link

failed to endorse: message larger than max #1

Closed siddhantprateek closed 11 months ago

siddhantprateek commented 1 year ago
./test-network/network.sh deployCC -ccn property -ccp "/Users/siddhantprateek/Documents/projects/tractionx" -ccl go
Using docker and docker-compose
deploying chaincode on channel 'mychannel'
executing with the following
- CHANNEL_NAME: mychannel
- CC_NAME: property
- CC_SRC_PATH: /Users/siddhantprateek/Documents/projects/tractionx
- CC_SRC_LANGUAGE: go
- CC_VERSION: 1.0
- CC_SEQUENCE: 1
- CC_END_POLICY: NA
- CC_COLL_CONFIG: NA
- CC_INIT_FCN: NA
- DELAY: 3
- MAX_RETRY: 5
- VERBOSE: false
Vendoring Go dependencies at /Users/siddhantprateek/Documents/projects/tractionx
~/Documents/projects/tractionx ~/Documents/projects/tractionx/test-network
~/Documents/projects/tractionx/test-network
Finished vendoring Go dependencies
+ peer lifecycle chaincode package property.tar.gz --path /Users/siddhantprateek/Documents/projects/tractionx --lang golang --label property_1.0
+ res=0
++ peer lifecycle chaincode calculatepackageid property.tar.gz
+ PACKAGE_ID=property_1.0:30b78e6512d72a40543114407393d631242bf5b0205f11dda4c7dd322a2b93d1
Chaincode is packaged
Installing chaincode on peer0.org1...
Using organization 1
+ peer lifecycle chaincode queryinstalled --output json
+ jq -r 'try (.installed_chaincodes[].package_id)'
+ grep '^property_1.0:30b78e6512d72a40543114407393d631242bf5b0205f11dda4c7dd322a2b93d1$'
+ test 1 -ne 0
+ peer lifecycle chaincode install property.tar.gz
+ res=1

Error: failed to endorse chaincode install: rpc error: code = ResourceExhausted desc 
= trying to send message larger than max (248714679 vs. 104857600)

Chaincode installation on peer0.org1 has failed
Deploying chaincode failed
siddhantprateek commented 11 months ago

This issue is stale because it has been open for 30 days with no activity.

siddhantprateek commented 11 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.