From dd0a6751c41ab46a65e15c2abea3a7b9979efa67 Mon Sep 17 00:00:00 2001 From: Viktor Baranov Date: Tue, 26 Dec 2023 11:58:01 +0300 Subject: [PATCH] Arbitrum allow tx receipt gasUsedForL1 --- CHANGELOG.md | 2 ++ apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5169a8eed..480901a0b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ### Fixes +- [#9061](https://github.com/blockscout/blockscout/pull/9061) - Arbitrum allow tx receipt gasUsedForL1 field + ### Chore
diff --git a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex index 8dc9b2f82e..08744cd2cd 100644 --- a/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex +++ b/apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex @@ -300,7 +300,7 @@ defmodule EthereumJSONRPC.Receipt do end # Arbitrum fields - defp entry_to_elixir({key, _}) when key in ~w(returnData returnCode feeStats l1BlockNumber) do + defp entry_to_elixir({key, _}) when key in ~w(returnData returnCode feeStats l1BlockNumber gasUsedForL1) do :ignore end