Wrong canister principals are generated by dfx generate
and other
#3733
Labels
needs-triage
This ticket needs investigation.
dfx generate
and other
#3733
Wrong canister principals are generated by
dfx generate
, if canisters were not created/deployed before callinggenerate
. For more details see here.The bug seems repeatable by DFX 0.19.0.
The bug also appears in my PR #3710. After this PR, the bug appears not only in
dfx generate
, but also indfx deploy
(and probablydfx build
). Meanwhile, if I did testing right, in 0.19.0 it appears only fordfx generate
.I tried the following:
dfx generate
in an ICP software folder.I expected to see this happen:
dfx generate
to bail out likedfx build
does in this situation.Instead, this happened: Wrong canister principals are put into
.dfx/local/lsp/
.The text was updated successfully, but these errors were encountered: