Questions tagged [maxencodedlen]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
1 answer
97 views

How to fix `parity_scale_codec::MaxEncodedLen` is not implemented for `T`?

When building my pallet, I run into the error: error[E0277]: the trait bound `T: parity_scale_codec::MaxEncodedLen` is not satisfied --> pallets/template/src/lib.rs:42:15 | 42 | #[pallet::...
user avatar
  • 9,195