Skip to main content

load_extra_programs_into_vm

Function load_extra_programs_into_vm 

Source
pub fn load_extra_programs_into_vm<N: Network>(
    entries: &[String],
    vm: &VM<N, ConsensusMemory<N>>,
    context: &Context,
    network: NetworkName,
    endpoint: Option<&str>,
    network_retries: u32,
) -> Result<()>
Expand description

Load additional programs specified by --with and add them to the VM.

Each entry is either a local .aleo file path (if it exists on disk) or a remote program name fetched from the network endpoint with transitive dependencies.