Make the tokens pallet use its own storage. Indeed, having to serialize and deserialize a whole BTree every time would get costly over time when we start reaching a few hundred currencies holded by one account. Also did some refactoring to optimize the code.
Make the
tokens
pallet use its own storage. Indeed, having to serialize and deserialize a wholeBTree
every time would get costly over time when we start reaching a few hundred currencies holded by one account. Also did some refactoring to optimize the code.