You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the deployment of a CW20 contract, the CLI failed to validate the schema of the Instantiate message because it contains an uint8 type, which is a primitive Rust numeric type and not supported by default on JSON Schema v7.
Since the JSON Schema generated by the schemars crate doesn't provide the format for those primitive types in the output file, the validation using ajv fails (as in this example).
Description
During the deployment of a CW20 contract, the CLI failed to validate the schema of the Instantiate message because it contains an
uint8
type, which is a primitive Rust numeric type and not supported by default on JSON Schema v7.Since the JSON Schema generated by the
schemars
crate doesn't provide the format for those primitive types in the output file, the validation usingajv
fails (as in this example).Technical Description
The fixes for some of those primitive types were applied in #214, but we should find other types that the validation might fail and populate the custom formats in the SchemaValidator.
Tasks
cosmwasm-std
SchemaValidator
with theajv
validations.The text was updated successfully, but these errors were encountered: