Skip to content

Commit

Permalink
Merge pull request #18 from hemilabs/fix-table-receipt-env-vars
Browse files Browse the repository at this point in the history
Misc fixes
gabmontes authored Jun 7, 2024
2 parents f8911c0 + 81f17b0 commit 2d28c24
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/receipt.ex
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

3 changes: 2 additions & 1 deletion docker-compose/envs/common-blockscout.env
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2d28c24

Please sign in to comment.