/// Submits a proposal to upgrade an NNS canister, with the provided argument.
Submits a proposal to upgrade an NNS canister, with the provided argument.
Submits a proposal to upgrade an NNS canister with the provided argument .
pub async fn upgrade_nns_canister_with_arg_by_proposal(
    canister: &Canister<'_>,
    governance: &Canister<'_>,
    root: &Canister<'_>,
    wasm: Wasm,
    arg: Vec<u8>,
) {
    change_nns_canister_by_proposal(
        CanisterInstallMode::Upgrade,
        canister,
        governance,
        root,
        false,
        wasm,
        Some(arg),
    )
    .await
}
pub async fn upgrade_nns_canister_with_arg_by_proposal ( canister : & Canister < ' _ > , governance : & Canister < ' _ > , root : & Canister < ' _ > , wasm : Wasm , arg : Vec < u8 > , ) { change_nns_canister_by_proposal ( CanisterInstallMode :: Upgrade , canister , governance , root , false , wasm , Some ( arg ) , ) . await }
Submits a proposal to upgrade an NNS canister, with the provided argument.
Submits a proposal to upgrade an NNS canister with the provided argument .
canister
&Canister<'_>
governance
&Canister<'_>
root
&Canister<'_>
wasm
Wasm
arg
Vec<u8>