You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rust/guards/README.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ requests by contacting a ledger canister, where crucially double minting should
15
15
16
16
One tricky part in this scenario is that an item can therefore only be marked as processed after the asynchronous code
17
17
has completed, meaning in the callback. As mentioned in
18
-
the [security best-practices](https://internetcomputer.org/docs/building-apps/security/inter-canister-calls#inter-canister-calls-and-rollbacks),
18
+
the [security best-practices](https://internetcomputer.org/docs/building-apps/security/inter-canister-calls#securely-handle-traps-in-callbacks),
19
19
it's not always feasible to guarantee that the callback will not trap, which in that case would break the invariant due
20
20
to the state being rolled back.
21
21
@@ -37,11 +37,11 @@ until completion directly, everything will be executed in a single message.
37
37
38
38
### 3. Navigate into the project's directory.
39
39
40
-
### 4. Run `dfx start --background --clean && dfx deploy` to deploy the project to your local environment.
40
+
### 4. Deploy the project to your local environment:
41
41
42
-
## Security considerations and best practices
43
-
44
-
If you base your application on this example, it is recommended that you familiarize yourself with and adhere to the [security best practices](https://internetcomputer.org/docs/building-apps/security/overview) for developing on ICP. This example may not implement all the best practices.
If you base your application on this example, it is recommended that you familiarize yourself with and adhere to the [security best practices](https://internetcomputer.org/docs/building-apps/security/overview) for developing on ICP. This example may not implement all the best practices.
0 commit comments