Commit 1b692415 authored by Tim Myers's avatar Tim Myers Committed by GitHub

fix(dtl): incorrect parsing of eth_getBlockRange result (#1037)

parent 958477be
---
'@eth-optimism/data-transport-layer': patch
---
incorrect parsing of eth_getBlockRange result
...@@ -194,7 +194,7 @@ export class L2IngestionService extends BaseService<L2IngestionServiceOptions> { ...@@ -194,7 +194,7 @@ export class L2IngestionService extends BaseService<L2IngestionServiceOptions> {
const respJson = await bfj.parse(resp.data, { const respJson = await bfj.parse(resp.data, {
yieldRate: 4096, // this yields abit more often than the default of 16384 yieldRate: 4096, // this yields abit more often than the default of 16384
}) })
blocks = respJson.data blocks = respJson.result
} }
for (const block of blocks) { for (const block of blocks) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment