NucleiStudio / governance-os

DAO as a service parachain for Polkadot. Built with Parity Substrate. Supports various pluggable voting systems.
Apache License 2.0
13 stars 5 forks source link

tokens' very own storage #33

Closed ETeissonniere closed 3 years ago

ETeissonniere commented 3 years ago

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.