Skip to content

Commit

Permalink
Merge pull request #2291 from dfinity/jmongeon-patch
Browse files Browse the repository at this point in the history
fix: Update instances of 'our' --> 'your'
  • Loading branch information
jessiemongeon1 authored Dec 20, 2023
2 parents e974224 + ad87fe5 commit 435740a
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You will be building off of the previous three modules, [1.3 Developing your fir

Each canister has a unique identifier that can be used to interact with the canister. These unique IDs can be used to access the canister's frontend or Candid UI in a web browser, such as when you accessed the frontend of your poll dapp in the last tutorial. Having a canister's ID is also important for executing management functions of the canister, such as setting ownership for the canister.

As an example, let's get the canister ID of our `poll_backend` canister that's been deployed on the mainnet by using the command:
As an example, to get the canister ID of your `poll_backend` canister that's been deployed on the mainnet by using the command:

```sh
dfx canister id poll_backend --network ic
Expand All @@ -40,9 +40,7 @@ dfx canister id poll_backend

## Obtaining canister information

Next, let's obtain some information about our canister, such as the canister's controller(s) and the Wasm module hash.

To get this information, you can use the command `dfx canister info`, such as:
Next, to obtain some information about your canister, such as the canister's controller(s) and the Wasm module hash, use the command:

```sh
dfx canister info poll_backend
Expand Down Expand Up @@ -76,7 +74,7 @@ The output will resemble the following:
lalyb-uhvmt-p7ubs-u5t7l-hce6v-lp7c5-dlmj5-wi2gc-depab-wtgi3-pae
```

Copy this value. You'll then use the `dfx canister update-settings` command to add this principal to be a controller of your `poll_backend` canister, but first, you need to switch back to our previously created identity, since only existing controllers can add new controllers:
Copy this value. You'll then use the `dfx canister update-settings` command to add this principal to be a controller of your `poll_backend` canister, but first, you need to switch back to your previously created identity, since only existing controllers can add new controllers:

```sh
dfx identity use DeveloperJourney
Expand Down Expand Up @@ -351,7 +349,7 @@ In the output of the `dfx canister status` command, you may have noticed the `fr

The freezing threshold is important because if a canister runs out of cycles, it will be uninstalled. The freezing threshold protects it from deletion, since if the cycles balance dips below the threshold, the canister will stop processing any new requests; however, it will continue to reply to existing requests.

For example, to set a freezing threshold for our `poll_backend` canister, use the command:
For example, to set a freezing threshold for your `poll_backend` canister, use the command:

```sh
dfx canister update-settings poll_backend --freezing-threshold 3472000
Expand Down

0 comments on commit 435740a

Please sign in to comment.