Skip to content

Persist world state #244

@ElFantasma

Description

@ElFantasma

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions