From 04ae0d2a7a09cbbab631375d660dfc8ab2efd52c Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Tue, 13 Feb 2024 10:41:57 +0000 Subject: [PATCH] fix: use ordered-binary value encoding for multi maps (#4565) This PR changes the encoding of dupSort databases to the recommended `ordered-binary` from msgpack. --- 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 7f9286403ce..02fc4cc787a 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, });