Hello I would like to be able to call
fn system_name(&self) -> RpcResult<String> {
Ok(self.info.impl_name.clone())
}
inside a custom rpc call our custom rpc call is implemented like that:
io.extend_with(ApiServer::to_delegate(Api::new(
client.clone(),
pool.clone(),
graph,
Some(aureum_node_runtime::TransactionConverter),
network.clone(),
signers,
overrides.clone(),
backend.clone(),
is_authority,
block_data_cache.clone(),
)));
io.extend_with(ApiServer::to_delegate(Api::new( client.clone(), pool.clone(), graph, Some(aureum_node_runtime::TransactionConverter), network.clone(), signers, overrides.clone(), backend.clone(), is_authority, block_data_cache.clone(), )));
I cant find a way how to accessinfo
in my Api methods. thank you.Ok(self.info.impl_name.clone())
in my custom rpc code