Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dfx should have the ability to set controller per the public spec #880

Closed
3 tasks done
p-shahi opened this issue Jul 27, 2020 · 1 comment · Fixed by #1057
Closed
3 tasks done

dfx should have the ability to set controller per the public spec #880

p-shahi opened this issue Jul 27, 2020 · 1 comment · Fixed by #1057

Comments

@p-shahi
Copy link
Contributor

p-shahi commented Jul 27, 2020

@p-shahi p-shahi self-assigned this Jul 27, 2020
@nomeata
Copy link
Contributor

nomeata commented Jul 28, 2020

Right now you can do

dfx canister ic:00 call set_controller '({canister_id = "ic:…", new_controller = "ic:…"})`

right?

I expect the management canister to grow a lot over time (see, for example, https://github.com/dfinity-lab/ic-ref/pull/120), and it might not only save us lot of work to just let users use it directly, but be actually easier for users, because they only learn about that interface and can immedially use these features from the command line, JS, Motoko, Rust…

Maybe the missing piece is that when parsing a principal in candid, you also want to support the local canister aliases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants