complain if custom canister candid file is specified but doesn't exist #2636
roman-kashitsyn
started this conversation in
Maintenance Tasks
Replies: 1 comment
-
There used to be a warning when the did file is broken or missing. But then all calls to the main net will have this warning because there is no way to fetch the did file on-chain. Hopefully, this can all be fixed once the custom section is live in replica. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If "candid" field in a custom canister definition is set but contains a path to a non-existent file,
dfx
doesn't report and error.Instead,
dfx
proceeds with the call, which might fail because if incorrect message encoding, e.g.,This makes debugging much harder that it needs to be.
Beta Was this translation helpful? Give feedback.
All reactions