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 5216a6f commit be323e2
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 be323e2

Please sign in to comment.