Skip to content

Commit

Permalink
chore: do not trim decoded generic custom error (#9309)
Browse files Browse the repository at this point in the history
chore: do not trim generic custom error trace
  • Loading branch information
grandizzy authored Nov 13, 2024
1 parent 22cf683 commit 40fc54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/evm/core/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl RevertDecoder {
s.push_str(": ");
match std::str::from_utf8(data) {
Ok(data) => s.push_str(data),
Err(_) => s.push_str(&trimmed_hex(data)),
Err(_) => s.push_str(&hex::encode(data)),
}
}
s
Expand Down

0 comments on commit 40fc54e

Please sign in to comment.