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

Improve error message when failing to encode contract message arg #675

Open
ascjones opened this issue Aug 4, 2022 · 0 comments
Open

Improve error message when failing to encode contract message arg #675

ascjones opened this issue Aug 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ascjones
Copy link
Collaborator

ascjones commented Aug 4, 2022

Extracted from #432.

When supplying arguments to instantiate and call, if the encoded arguments are invalid for their position, we should provide a better error message to describe exactly which argument cannot be encoded, and which type is expected in that position.

@cmichi cmichi added the enhancement New feature or request label Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants