Skip to content

Commit

Permalink
docs: add TODO about removing state from shuffling computation
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Oct 8, 2024
1 parent efebb35 commit 0ea1cf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/state-transition/src/util/epochShuffling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function buildCommitteesFromShuffling(shuffling: Uint32Array): Uint32Array[][] {
}

export function computeEpochShuffling(
// TODO: (@matthewkeil) remove state and pass in seed to clean this up
// TODO: (@matthewkeil) remove state/epoch and pass in seed to clean this up
state: BeaconStateAllForks,
activeIndices: Uint32Array,
epoch: Epoch
Expand All @@ -147,7 +147,7 @@ export function computeEpochShuffling(
}

export async function computeEpochShufflingAsync(
// TODO: (@matthewkeil) remove state and pass in seed to clean this up
// TODO: (@matthewkeil) remove state/epoch and pass in seed to clean this up
state: BeaconStateAllForks,
activeIndices: Uint32Array,
epoch: Epoch
Expand Down

0 comments on commit 0ea1cf9

Please sign in to comment.