Reputation: 1222
I am using IBM Blockchain VSCode extension for testing hyperlerdger fabric node js chaincode. But I faced an issue when I tried to install a chaincode on a peer.
Error
Failed to install on peer Org1Peer1 with reason: 8 RESOURCE_EXHAUSTED: grpc: received message larger than max (120126016 vs. 104857600)
What does it mean? Can anyone guide me?
Upvotes: 0
Views: 1720
Reputation: 12821
This is due to a huge chaincode (check the whole chaincode folder size). In one case I mistakenly copied fabric bin inside the chaincode folder and got that error.
Upvotes: 0
Reputation: 12013
The maximum payload size for a Fabric transaction is 100MB (including metadata, etc). Your chaincode package seems to be extraordinarily large.
Upvotes: 0