diff --git a/ethcore/src/trace/mod.rs b/ethcore/src/trace/mod.rs index c63f43f23..2a5bda6c5 100644 --- a/ethcore/src/trace/mod.rs +++ b/ethcore/src/trace/mod.rs @@ -135,6 +135,7 @@ impl Tracer for ExecutiveTracer { fn trace_call(&mut self, call: Option, gas_used: U256, output: Option, depth: usize, subs: Vec, delegate_call: bool) { + // don't trace if it's DELEGATECALL or CALLCODE. if delegate_call { return; } @@ -166,6 +167,7 @@ impl Tracer for ExecutiveTracer { } fn trace_failed_call(&mut self, call: Option, depth: usize, subs: Vec, delegate_call: bool) { + // don't trace if it's DELEGATECALL or CALLCODE. if delegate_call { return; }