utils.GetLogInstance().Info(fmt.Sprintf("[Resharded][epoch:%d] I stay at shard %d, %s",core.GetEpochFromBlockNumber(newBlock.NumberU64()),myShard,aboutLeader),"BlsPubKey",hex.EncodeToString(myBlsPubKey))
ifisLeader{
}else{
aboutLeader="I become the leader"
utils.GetLogInstance().Info(fmt.Sprintf("[Resharded][epoch:%d] I got resharded to shard %d from shard %d, %s",core.GetEpochFromBlockNumber(newBlock.NumberU64()),myShard,node.blockchain.ShardID(),aboutLeader),"BlsPubKey",hex.EncodeToString(myBlsPubKey))
}
}
}
ifnode.blockchain.ShardID()==myShard{
utils.GetLogInstance().Info(fmt.Sprintf("[Resharded][epoch:%d] I stay at shard %d, %s",core.GetEpochFromBlockNumber(newBlock.NumberU64()),myShard,aboutLeader),"BlsPubKey",hex.EncodeToString(myBlsPubKey))
}else{
}else{
utils.GetLogInstance().Info(fmt.Sprintf("[Resharded][epoch:%d] I got resharded to shard %d from shard %d, %s",core.GetEpochFromBlockNumber(newBlock.NumberU64()),myShard,node.blockchain.ShardID(),aboutLeader),"BlsPubKey",hex.EncodeToString(myBlsPubKey))
utils.GetLogInstance().Info(fmt.Sprintf("[Resharded][epoch:%d] Somehow I got kicked out",core.GetEpochFromBlockNumber(newBlock.NumberU64())),"BlsPubKey",hex.EncodeToString(myBlsPubKey))
}
}
}else{
utils.GetLogInstance().Info(fmt.Sprintf("[Resharded][epoch:%d] Somehow I got kicked out",core.GetEpochFromBlockNumber(newBlock.NumberU64())),"BlsPubKey",hex.EncodeToString(myBlsPubKey))