From ed67b31170c5bf1cef1fe50f1728cb46ea58c021 Mon Sep 17 00:00:00 2001 From: typedarray <90073088+0xOlias@users.noreply.github.com> Date: Fri, 3 Nov 2023 11:19:40 -0400 Subject: [PATCH] add another log --- .../core/src/event-store/postgres/migrations.test.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/core/src/event-store/postgres/migrations.test.ts b/packages/core/src/event-store/postgres/migrations.test.ts index c4c2654d9..8378a60b8 100644 --- a/packages/core/src/event-store/postgres/migrations.test.ts +++ b/packages/core/src/event-store/postgres/migrations.test.ts @@ -18,6 +18,10 @@ import { beforeEach((context) => setupEventStore(context, { skipMigrateUp: true })); const seed_2023_07_24_0_drop_finalized = async (db: Kysely) => { + console.log("before inserting any data", { + tableNames: (await db.introspection.getTables()).map((t) => t.name), + }); + await db .insertInto("blocks") .values({ ...rpcToPostgresBlock(blockOne), chainId: 1 }) @@ -48,9 +52,9 @@ const seed_2023_07_24_0_drop_finalized = async (db: Kysely) => { .values(contractReadResultOne) .execute(); - const tables = await db.introspection.getTables(); - const tableNames = tables.map((t) => t.name); - console.log("before inserting logFilterCachedRanges", { tableNames }); + console.log("before inserting logFilterCachedRanges", { + tableNames: (await db.introspection.getTables()).map((t) => t.name), + }); await db .insertInto("logFilterCachedRanges")