Closed
Description
Currently state dump on TestNet can take up to 1 hour for only ~50MB of state:
- One reason is Json. We should use a binary format.
- Another reason is usage of TrieIterator. This can be replace it by just iterating over all values in the STATE column and checking if they are Leafs of the Trie.
Note, let's add this directly to master
as this is required to actually upgrade our live network.