aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-11-15 06:39:34 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 19:04:25 +0800
commit1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c (patch)
treef0b1ae7b524f7fe1e662507dd59e4ad1d2978540 /packages/pipeline
parenta2aeca7b66ebe78ff548f7d86b7ec04afbe75601 (diff)
downloaddexon-sol-tools-1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c.tar
dexon-sol-tools-1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c.tar.gz
dexon-sol-tools-1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c.tar.bz2
dexon-sol-tools-1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c.tar.lz
dexon-sol-tools-1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c.tar.xz
dexon-sol-tools-1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c.tar.zst
dexon-sol-tools-1f87bd8cf68d756931f80d39dcdb4d66f76d8e8c.zip
Add raw schema prefix to query in pull_missing_events
Diffstat (limited to 'packages/pipeline')
-rw-r--r--packages/pipeline/src/scripts/pull_missing_events.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pipeline/src/scripts/pull_missing_events.ts b/packages/pipeline/src/scripts/pull_missing_events.ts
index bc0eac853..0af999a77 100644
--- a/packages/pipeline/src/scripts/pull_missing_events.ts
+++ b/packages/pipeline/src/scripts/pull_missing_events.ts
@@ -55,7 +55,7 @@ async function getStartBlockAsync(eventsRepository: Repository<ExchangeFillEvent
return EXCHANGE_START_BLOCK;
}
const queryResult = await connection.query(
- 'SELECT block_number FROM exchange_fill_events ORDER BY block_number DESC LIMIT 1',
+ 'SELECT block_number FROM raw.exchange_fill_events ORDER BY block_number DESC LIMIT 1',
);
const lastKnownBlock = queryResult[0].block_number;
return lastKnownBlock - START_BLOCK_OFFSET;