Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: meaningless block header hash matching #53

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nishuzumi
Copy link

The matching of Block Hash should be based on the result of RPC, for example, when facing rollup using clique, directly modifying the miner of block will lead to different final hash results. Because the miner in the program is not the same as the rpc.

Similarly, for a public chain like linear, miner needs to be modified in pre_process_block, and then miner needs to be reset in pre_finished_block (before comparing hashes).

@nishuzumi nishuzumi changed the title Fix meaningless block header hash matching fix: meaningless block header hash matching Sep 13, 2024
@nishuzumi
Copy link
Author

@puma314 @jtguibas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant