From 6091e706627f5296d6913d3721fd64ea71007fdc Mon Sep 17 00:00:00 2001 From: m1stoyanov <133634888+m1stoyanov@users.noreply.github.com> Date: Tue, 16 Jan 2024 16:25:22 +0200 Subject: [PATCH] Update mod.rs Bytes to Option That will solve when rpc server returns: "output":null, as Nethermind does --- ethers-core/src/types/trace/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-core/src/types/trace/mod.rs b/ethers-core/src/types/trace/mod.rs index 35e4f91fc..4098c65f4 100644 --- a/ethers-core/src/types/trace/mod.rs +++ b/ethers-core/src/types/trace/mod.rs @@ -30,7 +30,7 @@ pub enum TraceType { /// Ad-Hoc trace API type pub struct BlockTrace { /// Output Bytes - pub output: Bytes, + pub output: Option, /// Transaction Trace pub trace: Option>, /// Virtual Machine Execution Trace