1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use multiversx_sc_scenario::{imports::InterpreterContext, ScenarioTxEnvData};

use crate::Interactor;

impl Interactor {
    pub(crate) fn new_env_data(&self) -> ScenarioTxEnvData {
        ScenarioTxEnvData {
            interpreter_context: InterpreterContext::new().with_dir(self.current_dir.clone()),
            tx_hash: None,
        }
    }
}

pub trait InteractorPrepareAsync {
    type Exec;

    fn prepare_async(self) -> Self::Exec;
}