Skip to content

Commit

Permalink
update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdtf authored and joshuahannan committed May 29, 2024
1 parent ddef50b commit 993d9c0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,13 @@ representation of access control, especially now that entitlements exist.

:::warning
**IMPORTANT SECURITY NOTICE**

Please familiarize yourself with [the new entitlements feature](https://cadence-lang.org/docs/1.0/language/access-control#entitlements)
because it is extremely important for you to understand in order to build safe smart contracts.

If you change `pub` to `access(all)` without paying attention to potential downcasting from public interfaces, you might expose private
functions like `withdraw` that will cause security problems for your contract.

Learn more about this [here](https://forum.flow.com/t/update-on-cadence-1-0/5197#adoption-43).
:::

Expand Down

0 comments on commit 993d9c0

Please sign in to comment.