Skip to content

Commit

Permalink
Revert "doc: Filter out calls to specific contracts in call_tracer.rs"
Browse files Browse the repository at this point in the history
This reverts commit 2fe4f4d.
  • Loading branch information
deblanco committed Feb 13, 2024
1 parent 2fe4f4d commit 4ad490a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions vendor/client/evm-tracing/src/formatters/call_tracer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ impl super::ResponseFormatter for Formatter {
for entry in listener.entries.iter() {
let mut result: Vec<Call> = 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();
Expand Down Expand Up @@ -208,13 +207,8 @@ impl super::ResponseFormatter for Formatter {
..
}),
) => {
println!("a: {:?}", a);
println!("b: {:?}", b);

&b[..]
== a.get(0..a.len() - 1).expect(
"non-root element while traversing trace result",
)
== &a[..]
}
_ => unreachable!(),
}) {
Expand Down

0 comments on commit 4ad490a

Please sign in to comment.