-
-
Notifications
You must be signed in to change notification settings - Fork 416
Open
Labels
meta-feature-requestIssues to track feature requests.Issues to track feature requests.
Description
Problem description
as stated in #8650 once we move to native state transition we will not have EpochCache anymore
Solution description
remove below methods on EpochCache and switch to ShufflingCache instead following this pattern
| const decisionRoot = stateCached.epochCtx.getShufflingDecisionRoot(epoch); |
TLDR:
- get decision root hex from IBeaconStateView given an epoch
- use ShufflingCache to get a shuffling instead
the list includes:
- getIndexedAttestation
- getAttestingIndices
- getCommitteeAssignments
- getCommitteeAssignment
- getShufflingAtSlot
- getShufflingAtSlotOrNull
- getShufflingAtEpoch
- getShufflingAtEpochOrNull
Additional context
No response
Metadata
Metadata
Assignees
Labels
meta-feature-requestIssues to track feature requests.Issues to track feature requests.