ethereum / trin

An Ethereum portal client: a json-rpc server with nearly instant sync, and low CPU & storage usage
365 stars 113 forks source link

trin-execution: execute block in memory and commit it at the end #1333

Closed KolbyML closed 3 weeks ago

KolbyML commented 3 months ago

https://github.com/ethereum/trin/pull/1331#discussion_r1659750741

We talked on a call

something like this will be used to solve this problem https://bluealloy.github.io/revm/docs/revm/db/states/state/struct.State.html

It is a great improvement, but we shouldn't prematurely add complexity, unless required to continue as complexity can increase the complexity of fixing bugs or finding them, which is bad if we don't already have a naive working solution to compare off when things go wrong