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

xDai chain: no function clause matching in EthereumJSONRPC.Parity.FetchedBeneficiaries.get_address_type/2 #2007

Closed
vbaranov opened this issue May 23, 2019 · 0 comments
Labels
bug 🐛 Something isn't working chain: Gnosis ⛓️
Milestone

Comments

@vbaranov
Copy link
Member

vbaranov commented May 23, 2019

2019-05-23T08:38:05.006 fetcher=block_reward count=3 [error] Task #PID<0.7635.0> started from Indexer.Fetcher.BlockReward terminating
** (FunctionClauseError) no function clause matching in EthereumJSONRPC.Parity.FetchedBeneficiaries.get_address_type/2
    (ethereum_jsonrpc) lib/ethereum_jsonrpc/parity/fetched_beneficiaries.ex:172: EthereumJSONRPC.Parity.FetchedBeneficiaries.get_address_type("external", 4)
    (ethereum_jsonrpc) lib/ethereum_jsonrpc/parity/fetched_beneficiaries.ex:156: EthereumJSONRPC.Parity.FetchedBeneficiaries.trace_to_params_set/3
    (ethereum_jsonrpc) lib/ethereum_jsonrpc/parity/fetched_beneficiaries.ex:132: anonymous fn/3 in EthereumJSONRPC.Parity.FetchedBeneficiaries.traces_to_params_set/2
    (elixir) lib/enum.ex:3015: anonymous fn/3 in Enum.reduce/3
    (elixir) lib/stream.ex:1556: anonymous fn/3 in Enumerable.Stream.reduce/3
    (elixir) lib/stream.ex:1047: anonymous fn/3 in Stream.with_index/2
    (elixir) lib/enum.ex:3317: Enumerable.List.reduce/3
    (elixir) lib/stream.ex:1568: Enumerable.Stream.do_each/4
Function: &Indexer.BufferedTask.log_run/1
    Args: [%{batch: [0, 3141392, 2932019], callback_module: Indexer.Fetcher.BlockReward, callback_module_state: [transport: EthereumJSONRPC.HTTP, transport_options: [http: EthereumJSONRPC.HTTP.HTTPoison, url: "xxx", method_to_url: [eth_getBalance: "xxx", trace_block: "xxx", trace_replayTransaction: "xxx"], http_options: [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]]], variant: EthereumJSONRPC.Parity], metadata: [fetcher: :block_reward]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working chain: Gnosis ⛓️
Projects
None yet
Development

No branches or pull requests

1 participant