ethereum / execution-specs

Specification for the Execution Layer. Tracking network upgrades.
Creative Commons Zero v1.0 Universal
809 stars 223 forks source link

Housekeeping; expose consensus type (closes #679) #820

Closed SamWilsn closed 11 months ago

SamWilsn commented 11 months ago

What was wrong?

Related to Issue #679

How was it fixed?

Added a property to Hardfork that returns the style of consensus for a fork.

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

codecov-commenter commented 11 months ago

Codecov Report

Patch coverage: 69.23% and project coverage change: -0.01% :warning:

Comparison is base (c44b1b5) 74.06% compared to head (284879a) 74.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #820 +/- ## ========================================== - Coverage 74.06% 74.06% -0.01% ========================================== Files 571 571 Lines 31726 31735 +9 ========================================== + Hits 23498 23503 +5 - Misses 8228 8232 +4 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `74.06% <69.23%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files Changed](https://app.codecov.io/gh/ethereum/execution-specs/pull/820?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | Coverage Δ | | |---|---|---| | [src/ethereum/fork\_criteria.py](https://app.codecov.io/gh/ethereum/execution-specs/pull/820?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#diff-c3JjL2V0aGVyZXVtL2ZvcmtfY3JpdGVyaWEucHk=) | `72.00% <69.23%> (-3.61%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.