pub fn get_latest_revision(
rule_set_pda_info: &AccountInfo<'_>,
) -> Result<Option<usize>, ProgramError>
Expand description
Get the latest revision number stored on the revision map.
This will first deserialize the header to find the map location and then deserialize the revision map.