risechain/pevm

Disk storage

Opened this issue · 0 comments

  • Write a minimal OnDiskStorage in src/storage/on_disk.rs that implements Storage. Let's pick mdbx as the first option to stay as close to Reth as possible. The initial table design can be flexible (accounts, codes, storages, block_hashes or any combination that can serve Storage well).
  • Add a benchmark that fully reads from disk instead of in-memory storage.
  • Add the ultimate benchmark that reads from disk and cache read values to the in-memory storage (kinda like CachedDB).