Skip to content

WIP: Proto/Storage: add cache for carbonated storage

Weihang Lo requested to merge wh@storage-functor-logic into marigold@storage-cache

Cache logic in concrete storage

A basic implementation of the cache logic for Contract_storage.get_storage. Please help me check whether it is implemented as expected, including

  • deserialization gas cost
  • storage access gas cost
  • in-storage cache fill when missing
  • in-memory cache fill when missing
  • trim in-storage cache with keys returned from in-memory cache adding
Edited by Weihang Lo

Merge request reports