fn compute_resource_changes_from_state(
    summary: &StateUpdateSummary
) -> IndexMap<ResourceAddress, BalanceChange>