Closed gupadhyaya closed 2 years ago
EIP1559 appended the base_fee_per_gas
field into block headers, so the library calculates the wrong block hash and then fails validation. #29 might fix it.
@peekpi could you take a look at https://github.com/harmony-one/horizon/pull/29 and see if it fixes the issue? If so, merge it. https://github.com/fzgem18 is a freelancer working part time on helping us on horizon as well.
for any blocks after the London hard fork that introduced eip 1559, the ethash validation fails: https://github.com/harmony-one/horizon/blob/main/tools/eth2hmy-relay/lib/DagProof.js#L59. this probably needs some adjustment in the ethash library https://github.com/harmony-one/horizon/tree/main/tools/eth2hmy-relay/ethash/dist