Skip to content

Commit

Permalink
fix: update ViewService for tm proxy
Browse files Browse the repository at this point in the history
We recently introduced a TendermintProxy, as a first step toward
publishing only the pd, rather than the pd and the tm, ports for a
Penumbra node. Here we review Galileo's consumption of the
ViewService API accordingly. See more info in:
penumbra-zone/penumbra#1680
  • Loading branch information
conorsch committed Dec 13, 2022
1 parent 0bbb177 commit c10e75e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/opt/serve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ impl Serve {
self.pd_port,
)
.await?;
let view_service =
ViewService::new(view_storage, self.node.clone(), self.pd_port, self.rpc_port).await?;
let view_service = ViewService::new(view_storage, self.node.clone(), self.pd_port).await?;

// Now build the view and custody clients, doing gRPC with ourselves
let mut view = ViewProtocolServiceClient::new(ViewProtocolServiceServer::new(view_service));
Expand Down

0 comments on commit c10e75e

Please sign in to comment.