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

ETH Mainnet: TraceReplayBlockTransactions unhadled error #9136

Open
vbaranov opened this issue Jan 11, 2024 · 0 comments
Open

ETH Mainnet: TraceReplayBlockTransactions unhadled error #9136

vbaranov opened this issue Jan 11, 2024 · 0 comments
Assignees

Comments

@vbaranov
Copy link
Member

{"time":"2024-01-11T08:26:04.559Z","severity":"error","message":"GenServer Indexer.Fetcher.FirstTraceOnDemand terminating\n** (FunctionClauseError) no function clause matching in EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_response_to_first_trace/2\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:195: EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_response_to_first_trace(%{id: 0, jsonrpc: \"2.0\", result: nil}, %{0 => %{block_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<136, 6, 240, 242, 201, 192, 61, 3, 45, 105, 217, 184, 34, 173, 46, 178, 16, 114, 183, 136, 205, 190, 74, 34, 22, 99, 224, 136, 73, 151, 249, 217>>}, block_number: 18982470, hash_data: \"0x43a622bff8d5d4e0f153b605e4f2a01e7c76a70162d5758a01d030b14c22a180\", transaction_index: 189}})\n    (elixir 1.14.5) lib/enum.ex:1658: Enum.\"-map/2-lists^map/1-0-\"/2\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:163: EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_responses_to_first_trace/2\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:149: EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_responses_to_first_trace_params/3\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:19: EthereumJSONRPC.TraceReplayBlockTransactions.fetch_first_trace/3\n    (explorer 6.0.0) lib/explorer/chain.ex:4677: Explorer.Chain.fetch_first_trace/2\n    (indexer 6.0.0) lib/indexer/fetcher/first_trace_on_demand.ex:23: Indexer.Fetcher.FirstTraceOnDemand.fetch_first_trace/2\n    (indexer 6.0.0) lib/indexer/fetcher/first_trace_on_demand.ex:64: Indexer.Fetcher.FirstTraceOnDemand.handle_cast/2\nLast message: {:\"$gen_cast\", {:fetch, %Explorer.Chain.Transaction{__meta__: #Ecto.Schema.Metadata<:loaded, \"transactions\">, hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<67, 166, 34, 191, 248, 213, 212, 224, 241, 83, 182, 5, 228, 242, 160, 30, 124, 118, 167, 1, 98, 213, 117, 138, 1, 208, 48, 177, 76, 34, 161, 128>>}, block_number: 18982470, block_consensus: true, block_timestamp: ~U[2024-01-11 08:22:23.000000Z], cumulative_gas_used: Decimal.new(\"17318650\"), earliest_processing_start: nil, error: nil, gas: Decimal.new(\"837408\"), gas_price: #Explorer.Chain.Wei<22194290891>, gas_used: Decimal.new(\"837408\"), index: 189, created_contract_code_indexed_at: nil, input: %Explorer.Chain.Data{bytes: <<0, 222, 27, 253, 99, 207, 194, 145, 244, 240, 65, 249, 230, 38, 124, 7, 216, 0, 0, 0, 0, 199, 200, 120, 218, 236, 189, 5, 84, 148, 219, ...>>}, nonce: 289559, r: Decimal.new(\"111301690284076983651683857555824394844995548885303563643002023607515534662730\"), s: Decimal.new(\"5002937957705257395358443471830149636676678744189128703494236209154696486838\"), status: :ok, v: Decimal.new(\"1\"), value: #Explorer.Chain.Wei<0>, revert_reason: nil, max_priority_fee_per_gas: #Explorer.Chain.Wei<10000000>, max_fee_per_gas: #Explorer.Chain.Wei<43699575512>, type: 2, has_error_in_internal_txs: nil, has_token_transfers: nil, transaction_fee_log: nil, transaction_fee_token: nil, old_block_hash: nil, inserted_at: ~U[2024-01-11 08:22:29.269961Z], updated_at: ~U[2024-01-11 08:22:29.269961Z], block_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<136, 6, 240, 242, 201, 192, 61, 3, 45, 105, 217, 184, ...>>}, block: #Ecto.Association.NotLoaded<association :block is not loaded>, forks: #Ecto.Association.NotLoaded<association :forks is not loaded>, from_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<80, 80, 246, 154, 151, 134, 240, 129, 80, ...>>}, from_address: #Ecto.Association.NotLoaded<association :from_address is not loaded>, internal_transactions: #Ecto.Association.NotLoaded<association :internal_transactions is not loaded>, logs: #Ecto.Association.NotLoaded<association :logs is not loaded>, token_transfers: #Ecto.Association.NotLoaded<association :token_transfers is not loaded>, transaction_actions: #Ecto.Association.NotLoaded<association :transaction_actions is not loaded>, to_address_hash: %Explorer.Chain.Hash{byte_count: 20, bytes: <<255, 0, 0, ...>>}, to_address: #Ecto.Association.NotLoaded<association :to_address is not loaded>, uncles: #Ecto.Association.NotLoaded<association :uncles is not loaded>, zkevm_batch_transaction: #Ecto.Association.NotLoaded<association :zkevm_batch_transaction is not loaded>, zkevm_batch: #Ecto.Association.NotLoaded<association :zkevm_batch is not loaded>, zkevm_sequence_transaction: #Ecto.Association.NotLoaded<association :zkevm_sequence_transaction is not loaded>, ...}}}\nState: %{json_rpc_named_arguments: [supervisor: #PID<0.6858.0>, transport: EthereumJSONRPC.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: \"http://57.129.24.28:8545\", fallback_url: nil, fallback_trace_url: nil, method_to_url: [eth_call: \"http://91.210.101.43:8545\", eth_getBalance: \"http://91.210.101.43:8545\", trace_block: \"http://91.210.101.43:8545\", trace_replayBlockTransactions: \"http://91.210.101.43:8545\", trace_replayTransaction: \"http://91.210.101.43:8545\"], http_options: [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Erigon]}","metadata":{"error":{"initial_call":null,"reason":"** (FunctionClauseError) no function clause matching in EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_response_to_first_trace/2\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:195: EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_response_to_first_trace(%{id: 0, jsonrpc: \"2.0\", result: nil}, %{0 => %{block_hash: %Explorer.Chain.Hash{byte_count: 32, bytes: <<136, 6, 240, 242, 201, 192, 61, 3, 45, 105, 217, 184, 34, 173, 46, 178, 16, 114, 183, 136, 205, 190, 74, 34, 22, 99, 224, 136, 73, 151, 249, 217>>}, block_number: 18982470, hash_data: \"0x43a622bff8d5d4e0f153b605e4f2a01e7c76a70162d5758a01d030b14c22a180\", transaction_index: 189}})\n    (elixir 1.14.5) lib/enum.ex:1658: Enum.\"-map/2-lists^map/1-0-\"/2\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:163: EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_responses_to_first_trace/2\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:149: EthereumJSONRPC.TraceReplayBlockTransactions.trace_replay_transaction_responses_to_first_trace_params/3\n    (ethereum_jsonrpc 6.0.0) lib/ethereum_jsonrpc/trace_replay_block_transactions.ex:19: EthereumJSONRPC.TraceReplayBlockTransactions.fetch_first_trace/3\n    (explorer 6.0.0) lib/explorer/chain.ex:4677: Explorer.Chain.fetch_first_trace/2\n    (indexer 6.0.0) lib/indexer/fetcher/first_trace_on_demand.ex:23: Indexer.Fetcher.FirstTraceOnDemand.fetch_first_trace/2\n    (indexer 6.0.0) lib/indexer/fetcher/first_trace_on_demand.ex:64: Indexer.Fetcher.FirstTraceOnDemand.handle_cast/2\n"}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants