From 34203e4ed88c2aa79f994b99a96be4fcff21ca06 Mon Sep 17 00:00:00 2001 From: yonada Date: Thu, 30 Nov 2023 16:39:47 +0000 Subject: [PATCH] fix(store-sync): use dynamic data in postgres decoded indexer (#1983) Co-authored-by: Kevin Ingersoll --- .changeset/thick-masks-wait.md | 5 +++++ .../store-sync/src/postgres-decoded/createStorageAdapter.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/thick-masks-wait.md diff --git a/.changeset/thick-masks-wait.md b/.changeset/thick-masks-wait.md new file mode 100644 index 0000000000..50baa2f850 --- /dev/null +++ b/.changeset/thick-masks-wait.md @@ -0,0 +1,5 @@ +--- +"@latticexyz/store-sync": patch +--- + +Fixed invalid value when decoding records in `postgres-decoded` storage adapter diff --git a/packages/store-sync/src/postgres-decoded/createStorageAdapter.ts b/packages/store-sync/src/postgres-decoded/createStorageAdapter.ts index fe5208a4dc..e8c3c5dd3d 100644 --- a/packages/store-sync/src/postgres-decoded/createStorageAdapter.ts +++ b/packages/store-sync/src/postgres-decoded/createStorageAdapter.ts @@ -96,7 +96,7 @@ export async function createStorageAdapter