Function code_can_write_data

Source
pub fn code_can_write_data(
    code_version: &Version,
    data_version: &Version,
) -> bool
Expand description

Can the given version of the code generate data that older versions can understand? Imagine the case of eg. garbage collection after a version upgrade… we may need to read old diffs to be able to find blobs to delete, even if we no longer have code to generate data in that format.