-
Notifications
You must be signed in to change notification settings - Fork 227
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
Serde Serialize & Deserialize for BoundedBTreeMap #870
Serde Serialize & Deserialize for BoundedBTreeMap #870
Conversation
Co-authored-by: ordian <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Could you also bump the Cargo.toml version? Looks good otherwise. |
The tests are not compiling without serde features. To fix, you need to wrap them in cfg(feature = "serde") like here: parity-common/bounded-collections/src/bounded_btree_set.rs Lines 590 to 591 in 7c701c6
|
Okay hopefully all works well now 😅 Have run the tests from the github actions file locally so should work. |
published |
BoundedBTreeMap cannot currently be used for parachain genesis state due to missing implementations of Serde. This PR aims to resolve that, similar to BoundedVec and BoundedBTreeSet
Corresponding issue: #869