Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 10, 2025
1 parent 4064890 commit a0d7243
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ contract can be used. Doing this check when the contract is first stored ensures
missing capabilities are detected early and not when a user tries to execute a
certain code path.

Note that capabilities are _not_ suitable to prevent contracts from accessing functionality.
Their purpose is to signal to the contract that some functionality is available.
Contracts are free to ignore this fact and attempt to use unavailable functionality anyway.
Therefore, not enabling a capability on the host is _not_ a way of preventing a contract from using that functionality.
Note that capabilities are _not_ suitable to prevent contracts from accessing
functionality. Their purpose is to signal to the contract that some
functionality is available. Contracts are free to ignore this fact and attempt
to use unavailable functionality anyway. Therefore, not enabling a capability on
the host is _not_ a way of preventing a contract from using that functionality.

## Origin and Disambiguation

Expand Down

0 comments on commit a0d7243

Please sign in to comment.