Skip to content

Commit

Permalink
Add missing impl
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Mar 9, 2024
1 parent 1bd1626 commit 39ae98a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions crates/view/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,12 @@ impl ViewService for ViewServer {
dyn futures::Stream<Item = Result<pb::AuthorizeAndBuildResponse, tonic::Status>> + Send,
>,
>;
type DelegationsByAddressIndexStream = Pin<
Box<
dyn futures::Stream<Item = Result<pb::DelegationsByAddressIndexResponse, tonic::Status>>
+ Send,
>,
>;

async fn broadcast_transaction(
&self,
Expand Down Expand Up @@ -1627,4 +1633,11 @@ impl ViewService for ViewServer {
denom_metadata: metadata.map(Into::into),
}))
}

async fn delegations_by_address_index(
&self,
_request: tonic::Request<pb::DelegationsByAddressIndexRequest>,
) -> Result<tonic::Response<Self::DelegationsByAddressIndexStream>, tonic::Status> {
unimplemented!("delegations_by_address_index")
}
}

0 comments on commit 39ae98a

Please sign in to comment.