Getting the error:
the trait MaxEncodedLen
is not implemented for SomeStruct
If I add MaxEncodedLen to the #[derive()] list it changes to this:
error[E0599]: no function or associated item named max_encoded_len
found for struct frame_support::dispatch::Vec<u8>
in the current scope
--> /home/aely/substrate-node-template/pallets/template/src/lib.rs:42:9
How do I store a struct that has a Vec or is a string in js?