multiversx_sc_scenario/scenario/tx_to_step/
tx_to_step_trait.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
use super::StepWrapper;

pub trait TxToStep<Env, RH> {
    type Step;

    fn tx_to_step(self) -> StepWrapper<Env, Self::Step, RH>;
}

pub trait TxToQueryStep<Env, RH> {
    type Step;

    fn tx_to_query_step(self) -> StepWrapper<Env, Self::Step, RH>;
}