Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc fixes #18

Merged
merged 3 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,12 @@ defmodule EthereumJSONRPC.Receipt do
:ignore
end

# Hemi specific transaction receipt fields shall be ignored to prevent the
# indexer to break. These are not used so ignoring seems right.
defp entry_to_elixir({key, _}) when key in ~w(popPayoutNonce) do
:ignore
end

defp entry_to_elixir({key, value}) do
{:error, {:unknown_key, %{key: key, value: value}}}
end
Expand Down
1 change: 1 addition & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ services:
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL: ""
ADMIN_PANEL_ENABLED: ""
RELEASE_VERSION: 6.3.0
CHAIN_TYPE: optimism
links:
- db:database

Expand Down
3 changes: 2 additions & 1 deletion docker-compose/envs/common-blockscout.env
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ INDEXER_OPTIMISM_L1_BATCH_START_BLOCK=5302698
INDEXER_OPTIMISM_L1_BATCH_INBOX=0xFF00000000000000000000000000000000743111
INDEXER_OPTIMISM_L1_BATCH_SUBMITTER=0x0632215e32658508fC985BB80f22eE71377F7aAE
INDEXER_OPTIMISM_L1_BATCH_BLOCKS_CHUNK_SIZE=4
# INDEXER_OPTIMISM_L2_BATCH_GENESIS_BLOCK_NUMBER=
INDEXER_OPTIMISM_L2_BATCH_GENESIS_BLOCK_NUMBER=0
INDEXER_OPTIMISM_L1_BATCH_BLOCKSCOUT_BLOBS_API_URL=https://eth-sepolia.blockscout.com/api/v2/blobs
INDEXER_OPTIMISM_L1_PORTAL_CONTRACT=0xB6f9579980aE46f61217A99145645341E49E2516
INDEXER_OPTIMISM_L1_OUTPUT_ROOTS_START_BLOCK=5302698
INDEXER_OPTIMISM_L1_OUTPUT_ORACLE_CONTRACT=0x032d1e1dd960A4B027a9a35FF8B2b672E333Bc27
Expand Down
Loading