Skip to content

Commit

Permalink
fix: use ordered-binary value encoding for multi maps (#4565)
Browse files Browse the repository at this point in the history
This PR changes the encoding of dupSort databases to the recommended
`ordered-binary` from msgpack.
  • Loading branch information
alexghr committed Feb 13, 2024
1 parent 686140a commit 04ae0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/kv-store/src/lmdb/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 04ae0d2

Please sign in to comment.