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.
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_limitwas 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.