Struct ethcore::client::EvmTestClient[][src]

pub struct EvmTestClient<'a> { /* fields omitted */ }

Simplified, single-block EVM test client.

Methods

impl<'a> EvmTestClient<'a>
[src]

Converts a json spec definition into spec.

Creates new EVM test client with in-memory DB initialized with genesis of given Spec.

Creates new EVM test client with in-memory DB initialized with given PodState.

Return current state.

Execute the VM given ActionParams and tracer. Returns amount of gas left and the output.

Executes a SignedTransaction within context of the provided state and EnvInfo. Returns the state root, gas left and the output.

Trait Implementations

impl<'a> Debug for EvmTestClient<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for EvmTestClient<'a>

impl<'a> !Sync for EvmTestClient<'a>