Skip to content

Commit

Permalink
fixing rpc
Browse files Browse the repository at this point in the history
  • Loading branch information
kkast committed Nov 10, 2023
1 parent cdbde5b commit 45c8a37
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/parachain/node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@ impl CliConfiguration<Self> for RelayChainCli {
.or_else(|| self.base_path.clone().map(Into::into)))
}

fn rpc_addr(&self, default_listen_port: u16) -> Result<Option<SocketAddr>> {
self.base.base.rpc_addr(default_listen_port)
}

// fn rpc_http(&self, default_listen_port: u16) -> Result<Option<SocketAddr>> {
// self.base.base.rpc_http(default_listen_port)
// }
Expand Down Expand Up @@ -404,6 +408,10 @@ impl CliConfiguration<Self> for RelayChainCli {
self.base.base.rpc_methods()
}

fn rpc_max_connections(&self) -> Result<u32> {
self.base.base.rpc_max_connections()
}

// fn rpc_ws_max_connections(&self) -> Result<Option<usize>> {
// self.base.base.rpc_ws_max_connections()
// }
Expand Down

0 comments on commit 45c8a37

Please sign in to comment.