Skip to content

Remove difficulty from PowBlock#2720

Merged
djrtwo merged 2 commits intoethereum:devfrom
paulhauner:patch-34
Nov 18, 2021
Merged

Remove difficulty from PowBlock#2720
djrtwo merged 2 commits intoethereum:devfrom
paulhauner:patch-34

Conversation

@paulhauner
Copy link
Contributor

The difficulty field is unused in the specification and appears to be always set to 0 in fork choice tests.

Copy link
Contributor

@mkalinin mkalinin left a comment

Choose a reason for hiding this comment

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

It seems to be a leftover from the times when the TTD was computed during the fork on the beacon chain. We may remove it now 👍

@hwwhww
Copy link
Contributor

hwwhww commented Nov 16, 2021

Nice. I'll go fix the CI.

@hwwhww hwwhww self-assigned this Nov 16, 2021
@hwwhww hwwhww removed their assignment Nov 16, 2021
@djrtwo djrtwo merged commit dc14b79 into ethereum:dev Nov 18, 2021
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.

4 participants