setupCanister with targetCanisterId
Creating two canisters with specific targetCanisterId's results in error when one of them tries to call the other "Canister ... doesn't exist"
pic-js docs specify "The Id of the canister to create. Can only be used on Bitcoin, Fiduciary, II, SNS and NNS subnets." Does that mean I have to load the NNS state, so we can have a Feduciary subnet where canisters can be installed and then the above scenario will not result in errors?
pic-js docs specify "The Id of the canister to create. Can only be used on Bitcoin, Fiduciary, II, SNS and NNS subnets."
This is a bit outdated. This feature now works with arbitrary mainnet canister IDs.
Could you please share exact instructions to reproduce the issue?
- create canister A with specific id
- create canister B with specific id
- pocketic test calls canister A, canister A makes intercanister call to B (fails here)
pocketic test calling A or B works
create canister A with specific id
create canister B with specific id
Could you please also share the exact values of the two specified canister IDs and what subnets the PocketIC instance is created with initially?
Don't remember the canister ids anymore. I believe I took random ones from the dashboard. Didn't know that mattered. I didn't specify subnet
In any case, could you please share exact instructions to reproduce the issue if you'd like us to debug it?