Currently across the substrate code base, there are a lot of PRs updating storage items to bounded forms, example: https://github.com/paritytech/substrate/pull/11591/
I am wondering what is the behavior if say a we are changing storage of Vec<T>
that has 11 items into a BoundedVec<T, I>
that only allows ten items? Does BoundedVec<T,I>
truncate the value leaving the last value inaccessible via the high level storage abstraction? Does there need to be a runtime migration for cases such as this?