I have a requirement where i get passed in some bytes and i need to create an accountId from it in Substrate 2.0.
Is there a way to convert between AccountId32
and <T as frame_system::Trait>::AccountId
in the runtime (FRAME) ? Or to create an instance of <T as frame_system::Trait>::AccountId
from bytes?
Thanks