This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Require MaxEncodedLen
per default
#10652
Labels
I7-refactor
Code needs refactoring.
U3-nice_to_have
Issue is worth doing eventually.
Z2-medium
Can be fixed by a coder with good Rust knowledge but little knowledge of the codebase.
Many pallets are currently missing
MaxEncodedLen
implementations. All future pallets should have it.To make it easier not to miss it, we could either:
bool
argument togenerate_storage_info
which default totrue
generate_storage_info
and add awithout_storage_info
attributeWhat do you favor?
I personally like the second approach more, since we could then in the future remove both after all pallets have been migrated.
Related paritytech/polkadot-sdk#323
The text was updated successfully, but these errors were encountered: