pub async fn upgrade_nns_canister_by_proposal(
    canister: &Canister<'_>,
    governance: &Canister<'_>,
    root: &Canister<'_>,
    stop_before_installing: bool,
    wasm: Wasm,
) {
    change_nns_canister_by_proposal(
        CanisterInstallMode::Upgrade,
        canister,
        governance,
        root,
        stop_before_installing,
        wasm,
        None,
    )
    .await
}
/// Upgrade the given root-controlled canister to the specified Wasm module.
/// This should only be called in NNS integration tests, where the NNS
/// canisters have their expected IDs.
///
/// This goes through MANY rounds of consensus, so expect it to be slow!
///
/// WARNING: this calls `execute_eligible_proposals` on the governance canister,
/// so it may have side effects!
Upgrade the given root-controlled canister to the specified Wasm module.
This should only be called in NNS integration tests, where the NNS
canisters have their expected IDs.

This goes through MANY rounds of consensus, so expect it to be slow!

this calls `execute_eligible_proposals` on the governance canister,
so it may have side effects!
Upgrade the given root - controlled canister to the specified Wasm module . This should only be called in NNS integration tests where the NNS canisters have their expected IDs . This goes through MANY rounds of consensus so expect it to be slow! this calls ` execute_eligible_proposals ` on the governance canister so it may have side effects!
pub async fn upgrade_nns_canister_by_proposal(
    canister: &Canister<'_>,
    governance: &Canister<'_>,
    root: &Canister<'_>,
    stop_before_installing: bool,
    wasm: Wasm,
) {
    change_nns_canister_by_proposal(
        CanisterInstallMode::Upgrade,
        canister,
        governance,
        root,
        stop_before_installing,
        wasm,
        None,
    )
    .await
}
pub async fn upgrade_nns_canister_by_proposal ( canister : & Canister < ' _ > , governance : & Canister < ' _ > , root : & Canister < ' _ > , stop_before_installing : bool , wasm : Wasm , ) { change_nns_canister_by_proposal ( CanisterInstallMode :: Upgrade , canister , governance , root , stop_before_installing , wasm , None , ) . await }
Upgrade the given root-controlled canister to the specified Wasm module.
Upgrade the given root - controlled canister to the specified Wasm module .
canister
&Canister<'_>
governance
&Canister<'_>
root
&Canister<'_>
stop_before_installing
bool
wasm
Wasm
canister
&Canister<'_>
governance
&Canister<'_>
root
&Canister<'_>
stop_before_installing
bool
wasm
Wasm