Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/pg/ingestion/pg-write-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
}

async updateLastIngestedRedisMsgId(sql: PgSqlClient, msgId: string): Promise<void> {
await sql`UPDATE chain_tip SET last_redis_msg_id = ${msgId}`;
const msgSequenceId = msgId.split('-')[0];
await sql`UPDATE chain_tip SET last_redis_msg_id = ${msgSequenceId}`;

Check warning on line 47 in src/pg/ingestion/pg-write-store.ts

View check run for this annotation

Codecov / codecov/patch

src/pg/ingestion/pg-write-store.ts#L46-L47

Added lines #L46 - L47 were not covered by tests
}

async applyStackerDbChunk(
Expand Down