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 consensus validation bugs #2031

Merged
merged 2 commits into from Jul 9, 2022
Merged

Fix consensus validation bugs #2031

merged 2 commits into from Jul 9, 2022

Conversation

acolytec3
Copy link
Contributor

Fixes two bugs related to consensus validation that were introduced when we merged #1959

  • Fixes handling of extraData in genesis parameters for client devnet start-up
  • Moves location of _consensusFormatValidation in block constructor so that extraData can be correctly constructed for PoA blocks.

@acolytec3 acolytec3 requested a review from holgerd77 July 9, 2022 17:28
@acolytec3
Copy link
Contributor Author

This should fix the client integration test failures that have been occurring lately

@codecov
Copy link

codecov bot commented Jul 9, 2022

Codecov Report

Merging #2031 (f6168c5) into master (12a81f6) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

Flag Coverage Δ
block 84.30% <100.00%> (ø)
blockchain 80.06% <ø> (ø)
client 78.34% <ø> (ø)
common 95.03% <ø> (ø)
devp2p 82.38% <ø> (ø)
ethash 90.81% <ø> (ø)
evm 40.44% <ø> (ø)
statemanager 84.55% <ø> (ø)
trie 74.21% <ø> (+0.48%) ⬆️
tx 92.17% <ø> (ø)
util 87.03% <ø> (ø)
vm 78.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Contributor

@ScottyPoi ScottyPoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@acolytec3 acolytec3 merged commit 01f38c8 into master Jul 9, 2022
@acolytec3 acolytec3 deleted the fix-cli-dev branch July 9, 2022 18:49
@holgerd77
Copy link
Member

Label, label, label, label 🤪...I will miss this in the release notes otherwise!

Thanks a lot for adressing otherwise! 🙏 🙂

@acolytec3
Copy link
Contributor Author

Label, label, label, label 🤪...I will miss this in the release notes otherwise!

Thanks a lot for adressing otherwise! 🙏 🙂

🤦 Ugh, sorry!

@holgerd77
Copy link
Member

🤦 Ugh, sorry!

You are not alone! 😅

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

4 participants