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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the price schema #76

Merged
merged 1 commit into from
Oct 6, 2022
Merged

Conversation

ali-bahjati
Copy link
Collaborator

@ali-bahjati ali-bahjati commented Oct 6, 2022

This is happening because we are not storing a lock file and apparently a newer version of a packaged changes the output of our schema generation code.

The reason for not having lock file in git is that lib crates don't have lock files at all. Not having it in github allows us to catch problems that could happen for downstream consumers. However, this particular one, would not had any impact on downstream consumers.

The schema change itself is very weird and strange, the old one seems to be more accurate semantically.
More context after looking deeper:

It鈥檚 using cosmwasm-schema which uses schemars to generate it. It seems that they have this PR that changed it (as a minor version upgrade) and is the exact root cause of our problem. They have made the change to handle descriptions for each enum field 馃く

@ali-bahjati ali-bahjati force-pushed the abehjati/fix-price-schema-update branch from 489c0dc to 8951952 Compare October 6, 2022 09:13
@ali-bahjati ali-bahjati merged commit 37604d2 into main Oct 6, 2022
@ali-bahjati ali-bahjati deleted the abehjati/fix-price-schema-update branch October 6, 2022 09:26
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.

None yet

2 participants