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

network deploy refers to wrong cansister #876

Closed
testpuddle opened this issue Dec 5, 2022 · 2 comments · Fixed by #882
Closed

network deploy refers to wrong cansister #876

testpuddle opened this issue Dec 5, 2022 · 2 comments · Fixed by #882

Comments

@testpuddle
Copy link

This line of code:
dfx canister --network ic call hello greet '("everyone": text)'
// Error: Failed to determine id for canister 'hello'.

should be:
dfx canister --network ic call hello_backend greet '("everyone": text)'
// ("Hello, everyone!")

@sesi200
Copy link
Contributor

sesi200 commented Dec 6, 2022

Thanks for reporting this! Would you mind showing me on which page that is?

@testpuddle
Copy link
Author

Oops! That would help.

https://internetcomputer.org/docs/current/developer-docs/quickstart/network-quickstart

Here is the section
4. Call the hello canister and the predefined greet function by running the following command:

dfx canister --network ic call hello greet '("everyone": text)'

sesi200 added a commit that referenced this issue Dec 7, 2022
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