From 76b9e849d47130e8c9ef8765b6de40e868301870 Mon Sep 17 00:00:00 2001 From: 0xalex88 <113263502+0xalex88@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:58:22 -0800 Subject: [PATCH] Ignore depositReceiptVersion from optimism receipts --- apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex index 00ededb8d8..f3cf67aab1 100644 --- a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex +++ b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex @@ -315,7 +315,7 @@ defmodule EthereumJSONRPC.Receipt do end # Optimism specific transaction receipt fields - defp entry_to_elixir({key, _}) when key in ~w(depositNonce) do + defp entry_to_elixir({key, _}) when key in ~w(depositNonce depositReceiptVersion) do :ignore end