sui_adapter_latest::programmable_transactions::context

Function check_shared_object_usage

Source
pub fn check_shared_object_usage<'a>(
    object_runtime: &ObjectRuntime<'_>,
    consumed_shared_objects: impl IntoIterator<Item = &'a ObjectID>,
) -> Result<(), ExecutionError>
Expand description

Check for valid shared object usage, either deleted or re-shared, at the end of a command