func (sb *ShardBlock) ToProto() *pb.ShardBlock {
	return &pb.ShardBlock{
		Header: sb.Header.ToProto(),
		Body:   sb.Body.ToProto(),
	}
}
// ToProto converts a shard block body to protobuf format.
ToProto converts a shard block body to protobuf format.
// ToProto converts a shard block body to protobuf format .
func (sb *ShardBlock) ToProto() *pb.ShardBlock {
	return &pb.ShardBlock{
		Header: sb.Header.ToProto(),
		Body:   sb.Body.ToProto(),
	}
}
func ( sb * ShardBlock ) ToProto ( ) * pb . ShardBlock { return & pb . ShardBlock { Header : sb . Header . ToProto ( ) , Body : sb . Body . ToProto ( ) , } }
ToProto converts a shard block body to protobuf format.
ToProto converts a shard block body to protobuf format .