ignore receipt fileds for metis

pull/6590/head
ericlee 2 years ago
parent d03a0ca95b
commit 0b0b5d9d93
  1. 5
      apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex

@ -304,6 +304,11 @@ defmodule EthereumJSONRPC.Receipt do
:ignore
end
# Metis fields
defp entry_to_elixir({key, _}) when key in ~w(l1GasUsed l1GasPrice l1FeeScalar l1Fee) do
:ignore
end
# GoQuorum specific transaction receipt fields
defp entry_to_elixir({key, _}) when key in ~w(isPrivacyMarkerTransaction) do
:ignore

Loading…
Cancel
Save