Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that the smart contract parameter is valid #151

Open
abizjak opened this issue May 26, 2022 · 1 comment
Open

Make sure that the smart contract parameter is valid #151

abizjak opened this issue May 26, 2022 · 1 comment
Labels
good first issue Good for newcomers [Prio] Low Should be fixed if time permits but can be postponed. [Type] Task An additional feature or improvement.

Comments

@abizjak
Copy link
Contributor

abizjak commented May 26, 2022

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

@abizjak abizjak added good first issue Good for newcomers [Prio] Low Should be fixed if time permits but can be postponed. [Type] Task An additional feature or improvement. labels May 26, 2022
@Bargsteen
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers [Prio] Low Should be fixed if time permits but can be postponed. [Type] Task An additional feature or improvement.
Projects
None yet
Development

No branches or pull requests

2 participants