Skip to content

Commit

Permalink
Merge pull request #2336 from CosmWasm/co/capabilities-docs
Browse files Browse the repository at this point in the history
Add warning to CAPABILITIES.md
  • Loading branch information
chipshort authored Jan 10, 2025
2 parents 6114116 + a0d7243 commit 451b5a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/CAPABILITIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ 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.

## Origin and Disambiguation

Before August 2022, we had two types of "features": app level features in the
Expand Down

0 comments on commit 451b5a3

Please sign in to comment.