Concordium / concordium-smart-contract-tools

Tools for building, deploying, and interacting with smart contracts
Apache License 2.0
2 stars 8 forks source link

Deploy and Initialize SC Tools - Typos in error message #135

Closed mh-concordium closed 10 months ago

mh-concordium commented 10 months ago

Bug Description Some minor typos in the error message when trying to read/write to a contract without embedded schema.

Steps to Reproduce Try to read or write to a contract without embedded schema. Don't upload any schema files.

Expected Result I am not sure if we should just fix the error message like this: Error: Could not get schema from uploaded file. Uncheck "Has Input Parameter" checkbox if this entry point has no input parameter. Original error: Error: Unable to get parameter schema, due to: Missing Schema Version.

Or if we should change the error message to something like Schema was not uploaded but then I guess you can't us it as a generic message for all the errors.

Actual Result Error: Could not get schema from uploaded schema. Uncheck "Has Input Paramter" checkbox if this entrypoint has no input parameter. Original error: Error: Unable to get parameter schema, due to: Missing Schema Version.

Versions