Skip to content

GRPC message size must be configurable #33

@kolayuk

Description

@kolayuk

Because of changes in Fabric 2.3.3 GRPC message size must be configurable via peer.maxSendMsgSize changelog
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions