Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

running inspect on post-merge blocks fails #318

Open
pintail-xyz opened this issue Oct 25, 2022 · 2 comments
Open

running inspect on post-merge blocks fails #318

pintail-xyz opened this issue Oct 25, 2022 · 2 comments

Comments

@pintail-xyz
Copy link
Contributor

mev-inspect-py is unable to process any blocks since the merge. The reason seems to be that the 'miner' of each block is determined by looking for a trace of type reward. Presumably since there is no block subsidy post-merge, there are no longer any traces of this type.

Accordingly _get_miner_address_from_traces returns None and so create_block_from_number fails.

This could be easily fixed by getting the 'miner' from w3.eth.get_block(block_number), which returns the fee recipient for post-merge blocks.

@arsenius-clbs
Copy link

@pintail-xyz , hey. Is the fix going to be integrated into the master anytime soon?

@J1a-wei
Copy link

J1a-wei commented Jun 25, 2023

This problem is fixed?

@0xr3x 0xr3x mentioned this issue Sep 18, 2023
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants