Skip to content

Commit

Permalink
chore: shim
Browse files Browse the repository at this point in the history
  • Loading branch information
0xaatif committed Sep 9, 2024
1 parent 66bf870 commit cfe6d42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion trace_decoder/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,10 @@ fn middle<StateTrieT: StateTrie + Clone>(
if !precompiled_addresses.contains(&addr.compat()) {
// TODO(0xaatif): this looks like an optimization,
// but if it's omitted, the tests fail...
state_mask.insert(TrieKey::from_address(addr));
if std::env::var_os("SKIP_MASK_PRECOMPILED").is_some_and(|it| it == "true") {
} else {
state_mask.insert(TrieKey::from_address(addr));
}
}
}

Expand Down

0 comments on commit cfe6d42

Please sign in to comment.