dfinity / sdk

IC SDK: a Software Development Kit for creating and managing canister smart contracts on the ICP blockchain.
https://internetcomputer.org/developers
Apache License 2.0
170 stars 82 forks source link

DFX fails to retrieve the list of canister controllers during SNS proposal launch #3738

Open EmperorOrokuSaki opened 3 months ago

EmperorOrokuSaki commented 3 months ago

At the third stage of the SNS launch from the documentation, the dapp developer is required to run the following command:

dfx sns propose --network ic --neuron ID sns_init.yaml

However, this fails because the --network is not supported. Another command to run is:

$(dfx cache show)/sns propose --network=ic --neuron-id=ID sns_init.yaml

But this also fails and gives the following error:

Unable to determine controllers of CANISTER_ID based on output of dfx:

I can confirm that by rolling the DFX version back to 0.17.0, this error does not happen and the command works successfully. (The first command with the --network issue fails still)

Meta

dfx --version:

0.19.0