Skip to content

Commit

Permalink
fix: Fix temp geth issue to build goerli proofs.
Browse files Browse the repository at this point in the history
  • Loading branch information
paouvrard committed Sep 22, 2021
1 parent 27c19ed commit e7402dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/utils/src/findProof.ts
Expand Up @@ -60,6 +60,9 @@ export async function findEthProof (
'eth_getBlockByNumber',
[ethers.utils.hexValue(receipt.blockNumber), true]
)
if (process.env.tempGoerliGethFix === '1') {
block.miner = '0x0000000000000000000000000000000000000000'
}
const tree = await buildTree(provider, block)
const proof = await extractProof(
block,
Expand Down

0 comments on commit e7402dd

Please sign in to comment.