From 945f3d70822abd398745cd98d511d5dddea5e6da Mon Sep 17 00:00:00 2001 From: Dhvani Patel Date: Tue, 7 Nov 2023 20:46:34 -0500 Subject: [PATCH] remove address param --- packages/store-sync/src/recs/recsStorage.ts | 2 -- packages/store-sync/src/recs/syncToRecs.ts | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/store-sync/src/recs/recsStorage.ts b/packages/store-sync/src/recs/recsStorage.ts index 9959c517d2..363f601f17 100644 --- a/packages/store-sync/src/recs/recsStorage.ts +++ b/packages/store-sync/src/recs/recsStorage.ts @@ -31,12 +31,10 @@ export type RecsUpdatesHook = ( export function recsStorage( { components, - address, }: { components: ReturnType & Record>; config?: TConfig; - address: `0x${string}` | undefined; }, recsAllUpdatesHook?: RecsUpdatesHook ): BlockLogsToStorageOptions { diff --git a/packages/store-sync/src/recs/syncToRecs.ts b/packages/store-sync/src/recs/syncToRecs.ts index 1dd176e1f9..e20a8d60cd 100644 --- a/packages/store-sync/src/recs/syncToRecs.ts +++ b/packages/store-sync/src/recs/syncToRecs.ts @@ -47,10 +47,8 @@ export async function syncToRecs({ world.registerEntity({ id: singletonEntity }); - // console.log("syncWithRecs", startBlock, address); - const storeSync = await createStoreSync({ - storageAdapter: recsStorage({ components, config, address }, recsAllUpdatesHook), + storageAdapter: recsStorage({ components, config }, recsAllUpdatesHook), config, address, publicClient,