ic-query 0.1.45

Internet Computer query CLI for NNS, SNS, and related public network metadata
Documentation
1
2
3
4
5
6
use crate::nns::{leaf::NnsLeafCacheRequest, node::report::NnsNodeCacheRequest};
use std::path::Path;

pub(super) fn cache_request(icp_root: &Path, network: &str) -> NnsNodeCacheRequest {
    NnsNodeCacheRequest::from_root_network(icp_root, network)
}