Function check_tasks_for_warnings

Source
fn check_tasks_for_warnings<N: Network>(
    endpoint: &str,
    network: NetworkName,
    tasks: &[(ProgramID<N>, Program<N>, Option<Manifest>, Option<u64>, Option<u64>, Option<Record<N, Plaintext<N>>>)],
    action: &TransactionAction,
) -> Vec<String>
Expand description

Check the tasks to warn the user about any potential issues. Only local programs are checked. The following properties are checked:

  • If the transaction is to be broadcast:
    • The program does not exist on the network.
  • The program’s external dependencies are the latest version.