We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8edca1d commit 125f87cCopy full SHA for 125f87c
packages/engine/paima-funnel/src/funnels/parallelEvm/funnel.ts
@@ -96,7 +96,7 @@ export class ParallelEvmFunnel extends BaseFunnel implements ChainFunnel {
96
// condition for the presync. So there is no point in starting from
97
// earlier than that, since we know there are no events there.
98
cachedState.lastBlock = Math.max(
99
- queryResults[0].block_height,
+ queryResults[0]?.block_height || cachedState.startBlockHeight - 1,
100
cachedState.startBlockHeight - 1
101
);
102
}
0 commit comments