Function oasis_runtime_sdk::crypto::signature::context::test_using_chain_context
source · pub fn test_using_chain_context() -> MutexGuard<'static, ()>
Expand description
Test helper to serialize unit tests using the global chain context. The chain context is reset when this method is called.
§Example
let _guard = test_using_chain_context();
// ... rest of the test code follows ...