Skip to content

Commit fa74516

Browse files
committed
feat: Extend Starknet indexer's historical data processing range by adjusting the starting block offset.
1 parent 1c0bf3b commit fa74516

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

the_last_indexer/indexers/paymesh-starknet.indexer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ export default function (runtimeConfig: ApibaraRuntimeConfig) {
3737

3838
console.log("Crowd Funding Cache: ", crowd_funding_cache);
3939
console.log("Group Cache: ", group_cache);
40-
console.log("starting block ", startingBlock-5000)
40+
console.log("starting block ", startingBlock-20000)
4141

4242
return defineIndexer(StarknetStream)({
4343
streamUrl: crowdfundingConfig.streamUrl || groupConfig.streamUrl,
4444
finality: "accepted",
45-
startingBlock: BigInt(startingBlock-5000),
45+
startingBlock: BigInt(startingBlock-20000),
4646
filter: {
4747
events: [
4848
{

0 commit comments

Comments
 (0)