Skip to content

Commit

Permalink
hard code lastBlockHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
justraman committed Oct 23, 2024
1 parent 6962860 commit 9204d92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ProcessorConfig } from './types/custom/processorConfig'
const config: ProcessorConfig = {
chainName: process.env.CHAIN_NAME || 'enjin-matrixchain',
prefix: process.env.CHAIN_PREFIX ? parseInt(process.env.CHAIN_PREFIX, 10) : 1110,
lastBlockHeight: process.env.LAST_BLOCK_HEIGHT ? parseInt(process.env.LAST_BLOCK_HEIGHT, 10) : 0,
lastBlockHeight: 2911918,
genesisHash: process.env.GENESIS_HASH || '0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615',
dataSource: {
archive: process.env.ARCHIVE_ENDPOINT || null,
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function getParticipants(args: any, _events: EventItem[], signer: string): strin
return Array.from(accounts)
}

/* processor.run(
processor.run(
new TypeormDatabase({
isolationLevel: 'READ COMMITTED',
supportHotBlocks: true,
Expand Down Expand Up @@ -415,4 +415,4 @@ function getParticipants(args: any, _events: EventItem[], signer: string): strin
throw error
}
}
) */
)

0 comments on commit 9204d92

Please sign in to comment.