Function diem_jellyfish_merkle::test_helper::init_mock_db
source · pub fn init_mock_db<V>(
kvs: &HashMap<HashValue, V>
) -> (MockTreeStore<V>, Version)where
V: TestValue,
Expand description
Initializes a DB with a set of key-value pairs by inserting one key at each version.