This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Looking for some support on - Remove without_storage_info
on pallets & migration to BoundedVec ...
#11615
Closed
2 tasks done
Labels
J2-unconfirmed
Issue might be valid, but it’s not yet known.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
Remove
without_storage_info
on pallets · Issue paritytech/polkadot-sdk#323 · paritytech/substrateBoundedVec + Shims for Append/DecodeLength by kianenigma · Pull Request paritytech/substrate#8556 · paritytech/substrate
Trying to migrate instances of
Vec
toBoundedVec
& removal ofwithout_storage_info
annotations for nodle pallets.Hit With some
MaxEncodedLen
&Clone
trait bound errors.Shared some demo pallet to simplify & reproduce the issue.
https://github.com/rajesh-nodle/tst-demo
Here in this context, integrated
BoundedVec
as part ofstruct Validator
https://github.com/rajesh-nodle/tst-demo/blob/d36d477ab1872798c25972acf23c09ecf1fea12a/pallets/tst-demo/src/types.rs#L118
https://github.com/rajesh-nodle/tst-demo/blob/d36d477ab1872798c25972acf23c09ecf1fea12a/pallets/tst-demo/src/mock.rs#L205
Can I have some suggestions on rightway in migrating it?
Steps to reproduce
The text was updated successfully, but these errors were encountered: