Skip to content

Commit

Permalink
fix hash computing
Browse files Browse the repository at this point in the history
  • Loading branch information
syntrust committed May 26, 2024
1 parent 2962f31 commit 06446d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/lib/prover.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@ async function generateRandaoProof(block) {
block.receiptsRoot,
block.logsBloom,
"0x",
block.number,
block.number == "0x0" ? "0x" : block.number,
block.gasLimit,
block.gasUsed,
block.gasUsed == "0x0" ? "0x" : block.gasUsed,
block.timestamp,
block.extraData,
block.mixHash,
'0x0000000000000000',
block.baseFeePerGas,
block.baseFeePerGas == "0x0" ? "0x" : block.baseFeePerGas,
block.withdrawalsRoot,
block.blobGasUsed,
block.excessBlobGas,
block.blobGasUsed == "0x0" ? "0x" : block.blobGasUsed,
block.excessBlobGas == "0x0" ? "0x" : block.excessBlobGas,
block.parentBeaconBlockRoot,
];

Expand Down

0 comments on commit 06446d2

Please sign in to comment.