/// Stops service with the given ID.
Stops service with the given ID.
Stops service with the given ID .
fn stop_service(testkit: &mut TestKit, id: InstanceId) {
    let keypair = testkit.us().service_keypair();
    execute_transaction(
        testkit,
        ConfigPropose::immediate(0)
            .stop_service(id)
            .sign_for_supervisor(keypair.0, &keypair.1),
    )
    .expect("Stop service transaction should be processed");
}
fn stop_service ( testkit : & mut TestKit , id : InstanceId ) { let keypair = testkit . us ( ) . service_keypair ( ) ; execute_transaction ( testkit , ConfigPropose :: immediate ( 0 ) . stop_service ( id ) . sign_for_supervisor ( keypair . 0 , & keypair . 1 ) , ) . expect ( " " ) ; }
Stops service with the given ID.
Stops service with the given ID .
testkit
&mut TestKit
id
InstanceId