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

Update sync_version.py to also write to substrate/_version.py for API version #11

Merged
merged 1 commit into from
May 7, 2024

Conversation

liamgriffiths
Copy link
Contributor

Looks like our sync_version.py script that updates the code with the API version wasn't also writing to the substrate/_version.py file. As a result the SDK was continuing to use an old API version when making requests and the responses were not in sync with the types used in the SDK code, so when there was a type mismatch the Pydantic models would fail to construct.

This PR adds some code to update the file with the latest API Version and I've bumped the SDK version so that we can create a new release.

@liamgriffiths liamgriffiths requested a review from 0thernet May 7, 2024 15:20
@0thernet
Copy link
Contributor

0thernet commented May 7, 2024

🤘

@0thernet 0thernet merged commit b331a49 into main May 7, 2024
3 checks passed
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.

2 participants