func ShardAndCommitteeFromProto(committee *pb.ShardCommittee) (*ShardAndCommittee, error) {
	sc := &ShardAndCommittee{
		Shard:               committee.Shard,
		TotalValidatorCount: committee.TotalValidatorCount,
	}
	sc.Committee = append([]uint32{}, committee.Committee...)
	return sc, nil
}
// ShardAndCommitteeFromProto gets the shard and committee for the protobuf representation.
ShardAndCommitteeFromProto gets the shard and committee for the protobuf representation.
// ShardAndCommitteeFromProto gets the shard and committee for the protobuf representation .
func ShardAndCommitteeFromProto(committee *pb.ShardCommittee) (*ShardAndCommittee, error) {
	sc := &ShardAndCommittee{
		Shard:               committee.Shard,
		TotalValidatorCount: committee.TotalValidatorCount,
	}
	sc.Committee = append([]uint32{}, committee.Committee...)
	return sc, nil
}
func ShardAndCommitteeFromProto ( committee * pb . ShardCommittee ) ( * ShardAndCommittee , error ) { sc := & ShardAndCommittee { Shard : committee . Shard , TotalValidatorCount : committee . TotalValidatorCount , } sc . Committee = append ( [ ] uint32 { } , committee . Committee ... ) return sc , nil }
ShardAndCommitteeFromProto gets the shard and committee for the protobuf representation.
ShardAndCommitteeFromProto gets the shard and committee for the protobuf representation .