Skip to main content

selected_materialization_task_bytes

Function selected_materialization_task_bytes 

Source
pub fn selected_materialization_task_bytes(
    task: &ReplicatedTextMaterializationTask,
) -> Result<u64, ReplicatedTextContractError>
Expand description

Computes the exact executable storage charged to one selected task.

Direct tasks retain their admitted physical or derived output bytes. Transform tasks replace those bytes with the packed weight and exactly the companion roles selected by the executable format.