Skip to content

Commit

Permalink
fix(dtl): incorrect parsing of eth_getBlockRange result (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
timmyers authored Jun 8, 2021
1 parent 958477b commit 1b69241
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/spotty-drinks-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@eth-optimism/data-transport-layer': patch
---

incorrect parsing of eth_getBlockRange result
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class L2IngestionService extends BaseService<L2IngestionServiceOptions> {
const respJson = await bfj.parse(resp.data, {
yieldRate: 4096, // this yields abit more often than the default of 16384
})
blocks = respJson.data
blocks = respJson.result
}

for (const block of blocks) {
Expand Down

0 comments on commit 1b69241

Please sign in to comment.