Skip to content

Clean up "churn limit" code #9218

@michaelsproul

Description

@michaelsproul

Description

With EIP-8061 we are getting yet more churn limit functions, and it's becoming confusing which are which. E.g. get_activation_churn_limit was defined by us previously but is now a spec function.

We should do an audit of all churn-limit related functions on the beacon state and in single-pass epoch processing so we can avoid bugs. I think we should gate all the old functions by a fork check (and error) so that they don't get called accidentally in the wrong place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    consensusAn issue/PR that touches consensus code, such as state_processing or block verification.gloas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions