Skip to content

Commit

Permalink
fix serde (#2728)
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Mar 27, 2024
1 parent 4baf3b6 commit 19054ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion primitives/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,10 @@ pub mod tracing {
pub call_type: CallType,
pub from: H160,
pub to: H160,
#[serde(serialize_with = "vec_to_hex", deserialize_with = "hex_to_vec")]
#[cfg_attr(
feature = "std",
serde(serialize_with = "vec_to_hex", deserialize_with = "hex_to_vec")
)]
pub input: Vec<u8>,
pub value: U256,
// gas limit
Expand Down

0 comments on commit 19054ee

Please sign in to comment.