hyperledger / hyperledger/fabric-chaincode-go

GRPC message size must be configurable

Open
#33 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
154
Forks
132
Avg merge
1h 7m
Merged PRs (30d)
4

Description

Because of changes in Fabric 2.3.3 GRPC message size must be configurable via peer.maxSendMsgSize [changelog](https://github.com/hyperledger/fabric/releases/tag/v2.3.3)
But in chaincode client it is hardcoded to 100M: https://github.com/hyperledger/fabric-chaincode-go/blob/main/shim/internal/client.go#L19

Peer must provide actual size to chaincode while building container (via env for example like it is done with CORE_PEER_TLS_ENABLED) and chaincode server must read it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.