var firstEvent, lastEvent *historyspb.StrippedHistoryEvent
if len(historyEvents) > 0 {
EventId: historyEvents[0].GetEventId(),
}
lastEvent = &historyspb.StrippedHistoryEvent{
EventId: historyEvents[len(historyEvents)-1].GetEventId(),
}
}
if err := VerifyHistoryIsComplete(
shardContext.GetLogger(),