thehubbleproject / hubble-contracts

Hubble optimistic rollup
https://thehubbleproject.github.io/docs/
MIT License
133 stars 28 forks source link

Persist TransactionStorage #660

Closed jacque006 closed 2 years ago

jacque006 commented 2 years ago

Previously: https://github.com/thehubbleproject/hubble-contracts/issues/548

Problem

TransactionStorage is currently implemented in memory and does not maintain state between process crashes/restarts.

Solution

Implement TransactionStorage using leveldb to persist L2 transaction info and metadata.