-
Notifications
You must be signed in to change notification settings - Fork 285
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
test: Adjust difficulty if below minimum 0x20000
#803
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #803 +/- ##
===========================================
- Coverage 97.94% 62.18% -35.77%
===========================================
Files 110 44 -66
Lines 10823 3192 -7631
===========================================
- Hits 10601 1985 -8616
- Misses 222 1207 +985
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A unit test is needed.
f0525b0
to
43c8ee9
Compare
43c8ee9
to
8f216bd
Compare
Applies the minimum difficulty cap also to pre-Byzantium difficulty calculations. Fixes #752. Co-authored-by: Paweł Bylica <pawel@ethereum.org>
8f216bd
to
8856dde
Compare
0x20000
)0x20000
Applies the minimum difficulty cap also to pre-Byzantium difficulty
calculations.
Fixes #752.