code: def Size(self):
          
          return super(ValidatorState, self).Size() + self.PublicKey.Size() + s.uint8 + self.Votes.Size()
docs: Get the total size in bytes of the object.
  
          Returns:
              int: size.