Skip to content

Revert bitvec field order to maintain binary compatiblilty#143

Merged
wigy-opensource-developer merged 2 commits intomasterfrom
aj/bitvec-revert-order
Feb 24, 2022
Merged

Revert bitvec field order to maintain binary compatiblilty#143
wigy-opensource-developer merged 2 commits intomasterfrom
aj/bitvec-revert-order

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