Skip to content

Commit 9ba7bd7

Browse files
committed
Add comment to capability exports
1 parent 4ffac28 commit 9ba7bd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/std/src/exports.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ use crate::serde::{from_json, to_json_vec};
2929
use crate::types::Env;
3030
use crate::{CustomMsg, Deps, DepsMut, MessageInfo};
3131

32+
// These functions are used as markers for the chain to know which features this contract requires.
33+
// If the chain does not support all the required features, it will reject storing the contract.
34+
// See `docs/CAPABILITIES.md` for more details.
3235
#[cfg(feature = "iterator")]
3336
#[no_mangle]
3437
extern "C" fn requires_iterator() -> () {}

0 commit comments

Comments
 (0)