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

cosmwasm: add support for json schemas for all contracts #4118

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kakucodes
Copy link
Contributor

The purpose of this pull request is to update the cosmwasm contracts with the ability to export json schemas. These schemas are useful not only for frontend consumption (Typescript codegeneration) but also for Go and Interchain Test.

By and large the changes make all of the existing cosmwasm contracts a bit more homogeneous and fix some style differences between them. I added cosmwasm-schema where it didn't already exist and annotated query return types where they were not already specified. Additionally I swapped out the older style trait derives for serializable data types to use the cw_serde macro again for the sake of homogeneity in the workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant