Skip to content

Commit

Permalink
fix: serde rename revertReason (#4002)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jul 31, 2023
1 parent a1e6815 commit dee14c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc/rpc-types/src/eth/trace/geth/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct CallFrame {
pub output: Option<Bytes>,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub error: Option<String>,
#[serde(default, skip_serializing_if = "Option::is_none")]
#[serde(default, rename = "revertReason", skip_serializing_if = "Option::is_none")]
pub revert_reason: Option<String>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub calls: Vec<CallFrame>,
Expand Down

0 comments on commit dee14c7

Please sign in to comment.