[go: up one dir, main page]

Env: use tezos-storage.context instead of implementing a new memory context

This MR splits the context hash encoding into a separate library (tezos-storage.encoding) and use irmin-mem to implement memory_context.ml, instead of reimplementing a new in-memory context.

depends on:

The end-goal (not done in this MR) is to expose the tree hashes into the protocol, as suggested by !2440 (comment 482181038). It's impossible to do so with the current implementation of memory_context.ml as it needs to know how to serialize directories and values to generate the context hash.

Edited by Thomas Gazagnaire

Merge request reports

Loading