Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshmuelov committed Dec 2, 2024
1 parent 6f152f2 commit 9b81396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eth/eventhandler/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ func (eh *EventHandler) handleShareCreation(
}

// Set the minimum participation epoch to match slashing protection.
// Note: The current epoch can differ from the epoch set in slashing protection
// due to the passage of time during the non-atomic update process.
share.SetMinParticipationEpoch(eh.networkConfig.Beacon.EstimatedCurrentEpoch() + contractParticipationDelay)
}

Expand Down

0 comments on commit 9b81396

Please sign in to comment.