From 426e86dd5f2d89354ed2dbf01b51377e862a19f4 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 13 Feb 2024 08:43:51 +0000 Subject: [PATCH] fix: use ordered-binary value encoding for multi maps --- yarn-project/kv-store/src/lmdb/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/kv-store/src/lmdb/store.ts b/yarn-project/kv-store/src/lmdb/store.ts index 7f9286403cea..02fc4cc787a6 100644 --- a/yarn-project/kv-store/src/lmdb/store.ts +++ b/yarn-project/kv-store/src/lmdb/store.ts @@ -30,7 +30,7 @@ export class AztecLmdbStore implements AztecKVStore { }); this.#multiMapData = rootDb.openDB('data_dup_sort', { - encoding: 'msgpack', + encoding: 'ordered-binary', keyEncoding: 'ordered-binary', dupSort: true, });