hyperledger / hyperledger/fabric-private-chaincode

Fixed (and small) maximal size of return parameters

Open
#187 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
174
Forks
98
Avg merge
2d 21h
Merged PRs (30d)
1

Description

Currently return parameters have a hard-coded upper-bound of 1024. We might consider making this dynamic. The obvious way would be to have a getOutputLenX function for each function X with a variable length response (e.g., Invoke). Somewhat related also with Bug #177.

PS: the hardcoding is in ecc/enclave/enclave_stub.go as variable MAX_RESPONSET_SIZE (note typo! Also don't mistake it with MAX_OUTPUT_SIZE which seems dead code ..)

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.