Function avalanche_types::subnet::rpc::vm::serve

source ·
pub async fn serve<V>(vm: V, stop_ch: Receiver<()>) -> Result<()>where
    V: VmImpl,
Expand description

The address of the Runtime server is expected to be passed via ENV runtime::ENGINE_ADDR_KEY. This address is used by the Runtime client to send Initialize RPC to server.