Skip to content

Commit

Permalink
fix serde
Browse files Browse the repository at this point in the history
  • Loading branch information
ermalkaleci committed Mar 27, 2024
1 parent 4baf3b6 commit 77ae9c8
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 77ae9c8

Please sign in to comment.