Function testing_env_with_promise_results

Source
pub fn testing_env_with_promise_results(
    context: VMContext,
    promise_result: PromiseResult,
)
👎Deprecated since 4.0.0: Use testing_env! macro to initialize with promise results
Expand description

Initializes the MockedBlockchain with a single promise result during execution.