Concordium / concordium-client

A command line client to interact with the concordium-node
Apache License 2.0
8 stars 6 forks source link

Make sure that the smart contract parameter is valid #151

Open abizjak opened 2 years ago

abizjak commented 2 years ago

Task description

Currently concordium-client does not check that the smart contract parameter fits into max parameter size, which is 1024 bytes which then can lead to a "serialization failed" error which is not very informative.

The client should instead check that the parameter it is constructing fits into the allowed parameter size.

┆Issue is synchronized with this Jira Task by Unito

Bargsteen commented 1 year ago

In protocol version 5, the parameter size limit has been raised to 65535.