Section III
MLE-DB
ZK-Native State Storage
State storage that the proving system reads natively, 2,929× fewer constraints than hash-tree designs, with key reads in nanoseconds on commodity hardware.
what it does
What MLE-DB Does
Every chain stores its state in a hash tree. To prove that one account held one balance, the prover has to recompute a chain of hashes — thousands of constraints for a single lookup. Multiply that by every state access in a block and the proof system spends most of its life hashing rather than proving.
Nobody wanted that. It is what you get when a data structure designed to detect tampering is handed to a proof system that was not born yet when the structure was invented.
MLE-DB removes the tree. State is represented so the proof system reads it natively, in the arithmetic it already speaks. Nothing to translate, nothing to re-hash. 2,929× fewer constraints — not a faster hash, no hash.
mle db benchmarks
Performance
Measured on commodity hardware, not on a machine built for the benchmark.
A key lookup lands in the tens of nanoseconds, roughly what a cache miss costs. That is the target the whole design was aiming at: state access should cost what memory costs, not what cryptography costs.
5-7 ns
State Update
54-60 ns
Key Lookup
14 ns
State Read
66 ns
Non-Inclusion Proof
crash safety
Crash Safety
Pull the power in the middle of a write. MLE-DB loses nothing and corrupts nothing.
That reads like a database checkbox, and for most databases it is a promise backed by testing. Here it is backed by a machine-checked proof: the recovery path was verified, not merely exercised.
Testing shows you the crashes you thought to try. A proof covers the ones you did not.
