Macro soroban_sdk::assert_in_contract
source ยท macro_rules! assert_in_contract { ($env:expr $(,)?) => { ... }; }
Expand description
Assert in contract asserts that the contract is currently executing within a contract. The macro maps to code when testutils are enabled or in tests, otherwise maps to nothing.