Create VMTracer trait.

This commit is contained in:
Gav Wood
2016-05-28 17:50:20 +02:00
parent c1ed520de0
commit d4a06b27ed
4 changed files with 27 additions and 19 deletions

View File

@@ -157,8 +157,6 @@ impl<C, M> Ethcore for EthcoreClient<C, M> where C: BlockChainClient + 'static,
to_value(&Bytes::new(version))
}
//pub type VMTraceFunctionBox = Box<FnMut(usize, u8, U256, U256) + Send>;
fn vm_trace_call(&self, params: Params) -> Result<Value, Error> {
trace!(target: "jsonrpc", "vm_trace_call: {:?}", params);
from_params(params)