Trait executive_state::ExecutiveState [−][src]
Collects code that needs a Machine and/or Executive
Required methods
fn apply(
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracing: bool
) -> ApplyResult<FlatTrace, VMTrace>
[src]
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracing: bool
) -> ApplyResult<FlatTrace, VMTrace>
Execute a given transaction, producing a receipt and an optional trace. This will change the state accordingly.
fn apply_with_tracing<V, T>(
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracer: T,
vm_tracer: V
) -> ApplyResult<T::Output, V::Output> where
T: Tracer,
V: VMTracer,
[src]
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracer: T,
vm_tracer: V
) -> ApplyResult<T::Output, V::Output> where
T: Tracer,
V: VMTracer,
Execute a given transaction with given tracer and VM tracer producing a receipt and an optional trace. This will change the state accordingly.
Implementations on Foreign Types
impl<B: Backend> ExecutiveState for State<B>
[src]
fn apply(
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracing: bool
) -> ApplyResult<FlatTrace, VMTrace>
[src]
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracing: bool
) -> ApplyResult<FlatTrace, VMTrace>
Execute a given transaction, producing a receipt and an optional trace. This will change the state accordingly.
fn apply_with_tracing<V, T>(
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracer: T,
vm_tracer: V
) -> ApplyResult<T::Output, V::Output> where
T: Tracer,
V: VMTracer,
[src]
&mut self,
env_info: &EnvInfo,
mashina: &Machine,
t: &SignedTransaction,
tracer: T,
vm_tracer: V
) -> ApplyResult<T::Output, V::Output> where
T: Tracer,
V: VMTracer,
Execute a given transaction with given tracer and VM tracer producing a receipt and an optional trace. This will change the state accordingly.