fetch_latest_edition

Function fetch_latest_edition 

Source
pub fn fetch_latest_edition(
    name: &str,
    endpoint: &str,
    network: NetworkName,
) -> Result<Edition, UtilError>
Expand description

Fetch the latest edition of a program from the network.

Returns the actual latest edition number for the given program. This should be used instead of defaulting to arbitrary edition numbers.