Currently we are calculating the state root recreating the merkle tree from scratch each time we require it. (ie. here and here).
There is a ticket to keep the world state in memory and update only the state transitions.
On the next step we should persist the whole merkle tree world state in DB and update it instead.
Its a follow up on #45 and #243 and there is a TODO comment in code
Currently we are calculating the state root recreating the merkle tree from scratch each time we require it. (ie. here and here).
There is a ticket to keep the world state in memory and update only the state transitions.
On the next step we should persist the whole merkle tree world state in DB and update it instead.
Its a follow up on #45 and #243 and there is a TODO comment in code