fix: canister call uses remote candid file#2262
Conversation
There was a problem hiding this comment.
Would you please add an e2e test that demonstrates the problem this PR fixes? The test should fail prior to this change and succeed after it.
Here is an e2e test that shows canister call making a call to a remote canister, using the remote canister's candid definition: https://github.com/dfinity/sdk/blob/master/e2e/tests-dfx/remote.bash#L57
Is it the case that this PR makes it so canister call works for remote canisters before dfx deploy?
|
I found a more basic cause for the problem: If dfx was not able to determine the canister type, it just gave up at trying to determine the candid file. e2e now checks that it also works in that case. Changes to |
…d-file-for-remote-canisters
…d-file-for-remote-canisters
…d-file-for-remote-canisters
Description
If dfx is not able to determine the canister type, it just gives up at trying to determine the candid file.
Fixes SDK-506
How Has This Been Tested?
Added this situation to an existing e2e test.
Checklist: