diff --git a/shard/committee/assignment.go b/shard/committee/assignment.go index b9507f0d2..f0b6dabb4 100644 --- a/shard/committee/assignment.go +++ b/shard/committee/assignment.go @@ -350,6 +350,10 @@ func eposStakedCommittee( ) } + if len(completedEPoSRound.AuctionWinners) == 0 { + utils.Logger().Warn().Msg("No elected validators in the new epoch!!! Reuse old shard state.") + return stakerReader.ReadShardState(big.NewInt(0).Sub(epoch, big.NewInt(1))) + } return shardState, nil }