| 59 | type FetchBlobFunc func(kvIndex uint64, hash common.Hash) ([]byte, error) |
| 60 | |
| 61 | type Il1Source interface { |
| 62 | GetKvMetas(kvIndices []uint64, blockNumber int64) ([][32]byte, error) |
| 63 | |
| 64 | GetStorageKvEntryCount(blockNumber int64) (uint64, error) |
| 65 | } |
| 66 | |
| 67 | // StorageManager is a higher-level abstract of ShardManager which provides multi-thread safety to storage file read/write |
| 68 | // and a consistent view of most-recent-finalized L1 block. |
no outgoing calls
no test coverage detected