diff --git a/vendor/client/evm-tracing/src/formatters/call_tracer.rs b/vendor/client/evm-tracing/src/formatters/call_tracer.rs index 62543bd..3b2bb23 100644 --- a/vendor/client/evm-tracing/src/formatters/call_tracer.rs +++ b/vendor/client/evm-tracing/src/formatters/call_tracer.rs @@ -43,6 +43,7 @@ impl super::ResponseFormatter for Formatter { for entry in listener.entries.iter() { let mut result: Vec = entry .into_iter() + .filter(|(_, it)| it.from.ne(&H160::zero())) // Filters out calls to the ConversionRateController and other Precompiles .map(|(_, it)| { let from = it.from; let trace_address = it.trace_address.clone(); @@ -208,7 +209,9 @@ impl super::ResponseFormatter for Formatter { }), ) => { &b[..] - == &a[..] + == a.get(0..a.len() - 1).expect( + "non-root element while traversing trace result", + ) } _ => unreachable!(), }) {