We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a18fe5 commit ca8632bCopy full SHA for ca8632b
ic-canister/tests/canister-b/src/lib.rs
@@ -9,17 +9,6 @@ use ic_canister::{
9
use ic_exports::candid::{CandidType, Deserialize, Principal};
10
use ic_storage::IcStorage;
11
12
-// #[ic_canister::export_candid]
13
-pub fn canister_b_idl() -> String {
14
- use ic_canister::Idl;
15
-
16
- let canister_b_idl = generate_idl!();
17
- let mut canister_a_idl = <CanisterB as CanisterA>::get_idl();
18
- canister_a_idl.merge(&canister_b_idl);
19
20
- candid::pretty::candid::compile(&canister_a_idl.env.env, &Some(canister_a_idl.actor))
21
-}
22
23
#[derive(IcStorage, CandidType, Deserialize)]
24
struct StateB {
25
canister_a: Principal,
0 commit comments