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

Ensure that no duplidate block hashes in sync/from_syncing_to_invalid test case #3187

Merged
merged 1 commit into from
Jan 6, 2023

Conversation

hwwhww
Copy link
Contributor

@hwwhww hwwhww commented Jan 4, 2023

Address #3172

To make the block hashes unique, I fill the block.body.execution_payload.extra_data with distance values. Also, added an assertion to check this postcondition.

@hwwhww hwwhww changed the title Ensure that no duplidate block hashes Ensure that no duplidate block hashes in sync/from_syncing_to_invalid test case Jan 4, 2023
@hwwhww hwwhww requested a review from djrtwo January 6, 2023 14:59
@djrtwo djrtwo mentioned this pull request Jan 6, 2023
5 tasks
@djrtwo djrtwo merged commit 449db6d into dev Jan 6, 2023
@djrtwo djrtwo deleted the fix-from_syncing_to_invalid branch January 6, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants