Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
fix: geth structlog memory (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Sep 12, 2022
1 parent 162e0de commit 5a18059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ethers-core/src/types/trace/geth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ pub struct StructLog {
pub gas: u64,
#[serde(rename = "gasCost")]
pub gas_cost: u64,
/// ref <https://github.com/ethereum/go-ethereum/blob/366d2169fbc0e0f803b68c042b77b6b480836dbc/eth/tracers/logger/logger.go#L450-L452>
#[serde(skip_serializing_if = "Option::is_none")]
pub memory: Option<Vec<H256>>,
pub memory: Option<Vec<String>>,
pub op: String,
pub pc: u64,
#[serde(rename = "refund", skip_serializing_if = "Option::is_none")]
Expand Down

0 comments on commit 5a18059

Please sign in to comment.