Skip to content

Commit

Permalink
fix: arbitrum tx receipt (blockscout#3)
Browse files Browse the repository at this point in the history
* fix: arbitrum tx receipt

* chore: docker img path
  • Loading branch information
elijahboston authored Jun 15, 2023
1 parent 074e716 commit 20b283f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ defmodule EthereumJSONRPC.Receipt do
:ignore
end

# Arbitrum specific transaction receipt fields
defp entry_to_elixir({key, _}) when key in ~w(gasUsedForL1) do
:ignore
end

defp entry_to_elixir({key, value}) do
{:error, {:unknown_key, %{key: key, value: value}}}
end
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:


smart-contract-verifier:
image: ghcr.io/blockscout/smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
image: us-central1-docker.pkg.dev/minikube/nameless/blockscout-smart-contract-verifier:${SMART_CONTRACT_VERIFIER_DOCKER_TAG:-latest}
pull_policy: always
restart: always
env_file:
Expand All @@ -57,7 +57,7 @@ services:
- db
- smart-contract-verifier
- redis_db
image: blockscout/blockscout:${DOCKER_TAG:-latest}
image: us-central1-docker.pkg.dev/minikube/nameless/blockscout-stealthtest:${DOCKER_TAG:-latest}
build:
context: .
dockerfile: ./docker/Dockerfile.stealthtest
Expand Down

0 comments on commit 20b283f

Please sign in to comment.