Suicides tracing (#1688)

* tracing suicide

* fixed #1635

* fixed typo
This commit is contained in:
Marek Kotewicz
2016-07-22 14:47:23 +02:00
committed by Gav Wood
parent ce00c13c7a
commit 63dbb527cc
8 changed files with 208 additions and 11 deletions

View File

@@ -81,6 +81,9 @@ pub trait Tracer: Send {
/// Stores failed create trace.
fn trace_failed_create(&mut self, create: Option<Create>, depth: usize, subs: Vec<Trace>);
/// Stores suicide info.
fn trace_suicide(&mut self, address: Address, balance: U256, refund_address: Address, depth: usize);
/// Spawn subtracer which will be used to trace deeper levels of execution.
fn subtracer(&self) -> Self where Self: Sized;