Skip to content

Commit

Permalink
encode Vec<u8> properly for ethereum logs 'data' field (#3023)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzamontiel authored and noandrea committed Oct 31, 2024
1 parent 758b594 commit eb89f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/evm-tracing/src/types/single.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,6 @@ pub struct Log {
/// Event topics
pub topics: Vec<H256>,
/// Event data
#[serde(serialize_with = "bytes_0x_serialize")]
pub data: Vec<u8>,
}

0 comments on commit eb89f94

Please sign in to comment.