We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72fd6ea commit 12aa60dCopy full SHA for 12aa60d
packages/beacon-state-transition/src/cache/epochContext.ts
@@ -518,13 +518,6 @@ export class EpochContext {
518
`Requesting beacon proposer for different epoch current shuffling: ${epoch} != ${this.currentShuffling.epoch}`
519
);
520
}
521
-
522
- for (const cachedEpoch of this.nextEpochProposers.keys()) {
523
- // Do not keep past cached future proposal duties.
524
- if (cachedEpoch <= epoch) {
525
- this.nextEpochProposers.delete(cachedEpoch);
526
- }
527
528
return this.proposers[slot % SLOTS_PER_EPOCH];
529
530
0 commit comments