Incorrect block header items used in prover.js generateRandaoProof()
#84
Labels
bug
Something isn't working
generateRandaoProof()
#84
Location of Problem
storage-contracts-v1/test/lib/prover.js
Line 30 in f1c9c17
Problem
Block header items are not correct for current blocks (Cancun era), this would lead to incorrect block hash recreation.
Solution
See this post, scroll to bottom: https://ethereum.stackexchange.com/questions/163229/how-to-verify-block-hash-post-merge-block-15-5m.
My concern is that the
generateRandaoProof()
is incorrect, because it does not match what I found to be the correct block header items needed to recreate the block hash from a block header.The text was updated successfully, but these errors were encountered: