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

Process type field in eth_getTransactionReceipt response #3831

Merged
merged 1 commit into from
Apr 20, 2021
Merged

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Apr 20, 2021

Resolves #3776

Motivation

A new field type is returned from eth_getTransactionReceipt method. We should allow such transaction receipts.

2021-04-20T05:42:27.287 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({%ArgumentError{message: "Could not convert receipt to elixir\n\nReceipt:\n  %{\"blockHash\" => \"0x999fdedac3fb63e77d4054951382e8d70a14c4f747c6fef4f53ce27e0f0f5e36\", \"blockNumber\" => \"0x13dc146\", \"contractAddress\" => nil, \"cumulativeGasUsed\" => \"0xaaf0\", \"error\" => \"\", \"from\" => \"0xdad49e6cbde849353ab27dec6319e687bfc91a41\", \"gas\" => 2500000, \"gasUsed\" => \"0xaaf0\", \"logs\" => [], \"logsBloom\" => \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\", \"status\" => \"0x1\", \"to\" => \"0x67e90a54aeea85f21949c645082fe95d77bc1e70\", \"transactionHash\" => \"0x7bd10ff508afa7a38f81c5e9a0170a3a5cc43f5f31017f6188eee9f9bdb4b55e\", \"transactionIndex\" => \"0x0\", \"type\" => \"0x00\"}\n\nErrors:\n  {:unknown_key, %{key: \"type\", value: \"0x00\"}}\n"}, [{EthereumJSONRPC.Receipt, :ok!, 2, [file: 'lib/ethereum_jsonrpc/receipt.ex', line: 236]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1411]}, {EthereumJSONRPC.Receipts, :fetch, 2, [file: 'lib/ethereum_jsonrpc/receipts.ex', line: 138]}, {Task.Supervised, :invoke_mfa, 2, [file: 'lib/task/supervised.ex', line: 90]}, {Task.Supervised, :reply, 5, [file: 'lib/task/supervised.ex', line: 35]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 226]}]}). Restarting

Checklist for your Pull Request (PR)

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

Successfully merging this pull request may close these issues.

trouble catching up with geth
1 participant