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

Revert bitvec field order to maintain binary compatiblilty #143

Merged
merged 2 commits into from
Feb 24, 2022

Conversation

ascjones
Copy link
Contributor

In #137 which updates bitvec to 1.0 the order of the type params changes, but the order of the fields is also changed (unnecessarily) and it breaks binary compatibility with polkadot.js https://github.com/polkadot-js/api/blob/ed2f512cfc2481de8fd2e895038ebdd603a9e1c5/packages/types/src/metadata/PortableRegistry/PortableRegistry.ts#L518.

This PR restores the fields to their original order.

@wigy-opensource-developer wigy-opensource-developer merged commit 41c80aa into master Feb 24, 2022
@wigy-opensource-developer wigy-opensource-developer deleted the aj/bitvec-revert-order branch February 24, 2022 18:18
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.

3 participants