Skip to content

Commit ee1f16c

Browse files
committed
update proto
1 parent 52cfff4 commit ee1f16c

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

side-proto/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "side-proto"
3-
version = "0.1.0-dev9"
3+
version = "0.1.0-dev10"
44
edition = "2021"
55
description = "Rust Client for Side Chain"
66
readme = "README.md"

side-proto/src/prost/side/side.lending.tonic.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ pub mod query_client {
144144
.insert(GrpcMethod::new("side.lending.Query", "LiquidationEvent"));
145145
self.inner.unary(req, path, codec).await
146146
}
147-
pub async fn loan_ce_ts(
147+
pub async fn loan_cets(
148148
&mut self,
149149
request: impl tonic::IntoRequest<super::QueryLoanCetsRequest>,
150150
) -> core::result::Result<tonic::Response<super::QueryLoanCetsResponse>, tonic::Status>
@@ -156,10 +156,10 @@ pub mod query_client {
156156
)
157157
})?;
158158
let codec = tonic::codec::ProstCodec::default();
159-
let path = http::uri::PathAndQuery::from_static("/side.lending.Query/LoanCETs");
159+
let path = http::uri::PathAndQuery::from_static("/side.lending.Query/LoanCets");
160160
let mut req = request.into_request();
161161
req.extensions_mut()
162-
.insert(GrpcMethod::new("side.lending.Query", "LoanCETs"));
162+
.insert(GrpcMethod::new("side.lending.Query", "LoanCets"));
163163
self.inner.unary(req, path, codec).await
164164
}
165165
pub async fn unsigned_payment_tx(
@@ -209,7 +209,7 @@ pub mod query_server {
209209
tonic::Response<super::QueryLiquidationEventResponse>,
210210
tonic::Status,
211211
>;
212-
async fn loan_ce_ts(
212+
async fn loan_cets(
213213
&self,
214214
request: tonic::Request<super::QueryLoanCetsRequest>,
215215
) -> core::result::Result<tonic::Response<super::QueryLoanCetsResponse>, tonic::Status>;
@@ -412,18 +412,18 @@ pub mod query_server {
412412
};
413413
Box::pin(fut)
414414
}
415-
"/side.lending.Query/LoanCETs" => {
415+
"/side.lending.Query/LoanCets" => {
416416
#[allow(non_camel_case_types)]
417-
struct LoanCETsSvc<T: Query>(pub Arc<T>);
418-
impl<T: Query> tonic::server::UnaryService<super::QueryLoanCetsRequest> for LoanCETsSvc<T> {
417+
struct LoanCetsSvc<T: Query>(pub Arc<T>);
418+
impl<T: Query> tonic::server::UnaryService<super::QueryLoanCetsRequest> for LoanCetsSvc<T> {
419419
type Response = super::QueryLoanCetsResponse;
420420
type Future = BoxFuture<tonic::Response<Self::Response>, tonic::Status>;
421421
fn call(
422422
&mut self,
423423
request: tonic::Request<super::QueryLoanCetsRequest>,
424424
) -> Self::Future {
425425
let inner = Arc::clone(&self.0);
426-
let fut = async move { (*inner).loan_ce_ts(request).await };
426+
let fut = async move { (*inner).loan_cets(request).await };
427427
Box::pin(fut)
428428
}
429429
}
@@ -434,7 +434,7 @@ pub mod query_server {
434434
let inner = self.inner.clone();
435435
let fut = async move {
436436
let inner = inner.0;
437-
let method = LoanCETsSvc(inner);
437+
let method = LoanCetsSvc(inner);
438438
let codec = tonic::codec::ProstCodec::default();
439439
let mut grpc = tonic::server::Grpc::new(codec)
440440
.apply_compression_config(

0 commit comments

Comments
 (0)