From 5a18059b141c07789425c5d055210886721656c9 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 12 Sep 2022 23:32:01 +0200 Subject: [PATCH] fix: geth structlog memory (#1690) --- ethers-core/src/types/trace/geth.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ethers-core/src/types/trace/geth.rs b/ethers-core/src/types/trace/geth.rs index e6dd53ec..a65c0c04 100644 --- a/ethers-core/src/types/trace/geth.rs +++ b/ethers-core/src/types/trace/geth.rs @@ -22,8 +22,9 @@ pub struct StructLog { pub gas: u64, #[serde(rename = "gasCost")] pub gas_cost: u64, + /// ref #[serde(skip_serializing_if = "Option::is_none")] - pub memory: Option>, + pub memory: Option>, pub op: String, pub pc: u64, #[serde(rename = "refund", skip_serializing_if = "Option::is_none")]