Skip to content

Commit b6b1b8c

Browse files
committed
no need to recompute currrentProposerSeed again
1 parent 12aa60d commit b6b1b8c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/beacon-state-transition/src/cache/epochContext.ts

-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,6 @@ export class EpochContext {
418418
const nextEpoch = currEpoch + 1;
419419

420420
this.nextShuffling = computeEpochShuffling(state, epochProcess.nextEpochShufflingActiveValidatorIndices, nextEpoch);
421-
this.currentProposerSeed = getSeed(state, this.currentShuffling.epoch, DOMAIN_BEACON_PROPOSER);
422421
this.nextProposerSeed = getSeed(state, this.nextShuffling.epoch, DOMAIN_BEACON_PROPOSER);
423422

424423
this.proposers = computeProposers(this.currentProposerSeed, this.currentShuffling, this.effectiveBalanceIncrements);

0 commit comments

Comments
 (0)