Skip to content

Wrong balance returned in BlockExecutionOutput #12850

Closed Answered by agnusmor
agnusmor asked this question in Help
Discussion options

You must be logged in to vote

Hi, I have fixed the issue, the problem was the totaldifficulty parameter passed in function:

BlockExecutionInput::new(&block_executor, block.header.difficulty);

I was passing the block difficulty parameter instead of passing the totaldifficulty of the block. I have fixed this and now the fork used to process the block 16424144 is Merge (instead of London) and the balance for address "0x0000...0000" is returned correctly.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by agnusmor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants