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

Adjust ttd checks in parseGethParams #3556

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Adjust ttd checks in parseGethParams #3556

merged 1 commit into from
Aug 5, 2024

Conversation

acolytec3
Copy link
Contributor

In #3518, we removed almost all of the TTD related logic in the code base and with that tightened up what we accept in our parsing of geth genesis parameters. This caused an issue with Hive where the hive genesis parameters would provide a nonzero TTD but still expecting that merge would be at genesis (since the difficulty of the genesis block is higher than the provided TTD). This adjusts our logic to compare genesis block difficulty vs TTD to accomodate this quirk in hive.

Copy link
Member

@holgerd77 holgerd77 left a comment

Choose a reason for hiding this comment

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

LGTM

@holgerd77 holgerd77 merged commit d50803e into master Aug 5, 2024
34 checks passed
@holgerd77 holgerd77 deleted the fix-ttd-check branch August 5, 2024 16:08
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.

2 participants