xDai and POA Forum

Besu ETHEREUM_JSONRPC_VARIANT don't show blocks and transactions

Hi,
I’m trying to start BlockScout in a docker container. It’s a Besu Network and I’m configuring the ENV variables described below:

ETHEREUM_JSONRPC_VARIANT=besu ETHEREUM_JSONRPC_HTTP_URL=http://xx.xx.xx.xx:8545 ETHEREUM_JSONRPC_WS_URL=ws://xx.xx.xx.xx:8546 make start

Blockscout starts correctly but don’t show blocks and it appears the error described below on logs:

Retrying.
2020-06-29T18:31:04.593 application=indexer fetcher=block_catchup first_block_number=7205513 last_block_number=7205504 [error] ** (FunctionClauseError) no function clause matching in EthereumJSONRPC.HTTP.HTTPoison.json_rpc/3
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http/httpoison.ex:11: EthereumJSONRPC.HTTP.HTTPoison.json_rpc(nil, [91, ["{\"", [[] | "id"], "\":", "0", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF280"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "1", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF281"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "2", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF282"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "3", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF283"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "4", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF284"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "5", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF285"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "6", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF286"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "7", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF287"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "8", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF288"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "9", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF289"], 34], 93], 125], 93], [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]])
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http.ex:63: EthereumJSONRPC.HTTP.chunked_json_rpc/3
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:86: anonymous fn/3 in EthereumJSONRPC.RequestCoordinator.perform/4
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:106: EthereumJSONRPC.RequestCoordinator.trace_request/2
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/besu.ex:25: EthereumJSONRPC.Besu.fetch_beneficiaries/2
    (indexer 0.1.0) lib/indexer/block/fetcher.ex:355: Indexer.Block.Fetcher.fetch_beneficiaries/2
    (indexer 0.1.0) lib/indexer/block/fetcher.ex:140: Indexer.Block.Fetcher.fetch_and_import_range/2
    (indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3


Retrying.
2020-06-29T18:31:04.595 application=indexer fetcher=block_catchup first_block_number=7205503 last_block_number=7205494 [error] ** (FunctionClauseError) no function clause matching in EthereumJSONRPC.HTTP.HTTPoison.json_rpc/3
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http/httpoison.ex:11: EthereumJSONRPC.HTTP.HTTPoison.json_rpc(nil, [91, ["{\"", [[] | "id"], "\":", "0", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF276"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "1", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF277"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "2", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF278"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "3", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF279"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "4", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF27A"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "5", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF27B"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "6", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF27C"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "7", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF27D"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "8", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF27E"], 34], 93], 125], 44, ["{\"", [[] | "id"], "\":", "9", ",\"", [[] | "jsonrpc"], "\":", [34, [[] | "2.0"], 34], ",\"", [[] | "method"], "\":", [34, [[] | "trace_block"], 34], ",\"", [[] | "params"], "\":", [91, [34, [[] | "0x6DF27F"], 34], 93], 125], 93], [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]])
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http.ex:63: EthereumJSONRPC.HTTP.chunked_json_rpc/3
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:86: anonymous fn/3 in EthereumJSONRPC.RequestCoordinator.perform/4
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:106: EthereumJSONRPC.RequestCoordinator.trace_request/2
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/besu.ex:25: EthereumJSONRPC.Besu.fetch_beneficiaries/2
    (indexer 0.1.0) lib/indexer/block/fetcher.ex:355: Indexer.Block.Fetcher.fetch_beneficiaries/2
    (indexer 0.1.0) lib/indexer/block/fetcher.ex:140: Indexer.Block.Fetcher.fetch_and_import_range/2
    (indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3


Retrying.
2020-06-29T18:31:04.597 application=indexer fetcher=block_catchup [error] Catchup index stream exited with reason ({%ArgumentError{message: "Could not convert receipt to elixir\n\nReceipt:\n  %{\"blockHash\" => \"0x9b62fc817becc06566cb012ad12ee73e059caf944faee3bed8363329367b81ce\", \"blockNumber\" => \"0x6df2f6\", \"contractAddress\" => nil, \"cumulativeGasUsed\" => \"0x232b7\", \"from\" => \"0x0c4f89db9cded5a25b1b685b36b118c15f90cdfc\", \"gas\" => 3000000, \"gasUsed\" => \"0x232b7\", \"logs\" => [], \"logsBloom\" => \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\", \"revertReason\" => \"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e436f6d6d6f6e496e76616c696453657175656e63654576656e74436f64650000\", \"status\" => \"0x0\", \"to\" => \"0x37b538b66b56d0fa14633e4baeb6198497ce304d\", \"transactionHash\" => \"0xa019dece33dab729ae29b10274cb53df7912b2867d0f770069f9875c13fba392\", \"transactionIndex\" => \"0x0\"}\n\nErrors:\n  {:unknown_key, %{key: \"revertReason\", value: \"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e436f6d6d6f6e496e76616c696453657175656e63654576656e74436f64650000\"}}\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: 1396]}, {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: 249]}]}). Restarting
2020-06-29T18:31:04.597 [error] GenServer :block_catchup_sequencer terminating
** (ArgumentError) Could not convert receipt to elixir

Receipt:
  %{"blockHash" => "0x9b62fc817becc06566cb012ad12ee73e059caf944faee3bed8363329367b81ce", "blockNumber" => "0x6df2f6", "contractAddress" => nil, "cumulativeGasUsed" => "0x232b7", "from" => "0x0c4f89db9cded5a25b1b685b36b118c15f90cdfc", "gas" => 3000000, "gasUsed" => "0x232b7", "logs" => [], "logsBloom" => "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "revertReason" => "0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e436f6d6d6f6e496e76616c696453657175656e63654576656e74436f64650000", "status" => "0x0", "to" => "0x37b538b66b56d0fa14633e4baeb6198497ce304d", "transactionHash" => "0xa019dece33dab729ae29b10274cb53df7912b2867d0f770069f9875c13fba392", "transactionIndex" => "0x0"}

Errors:
  {:unknown_key, %{key: "revertReason", value: "0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e436f6d6d6f6e496e76616c696453657175656e63654576656e74436f64650000"}}

    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/receipt.ex:236: EthereumJSONRPC.Receipt.ok!/2
    (elixir 1.10.2) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2
    (ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/receipts.ex:138: EthereumJSONRPC.Receipts.fetch/2
    (elixir 1.10.2) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (elixir 1.10.2) lib/task/supervised.ex:35: Task.Supervised.reply/5
    (stdlib 3.11.2) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: {:EXIT, #PID<0.18451.1>, {%ArgumentError{message: "Could not convert receipt to elixir\n\nReceipt:\n  %{\"blockHash\" => \"0x9b62fc817becc06566cb012ad12ee73e059caf944faee3bed8363329367b81ce\", \"blockNumber\" => \"0x6df2f6\", \"contractAddress\" => nil, \"cumulativeGasUsed\" => \"0x232b7\", \"from\" => \"0x0c4f89db9cded5a25b1b685b36b118c15f90cdfc\", \"gas\" => 3000000, \"gasUsed\" => \"0x232b7\", \"logs\" => [], \"logsBloom\" => \"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\", \"revertReason\" => \"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e436f6d6d6f6e496e76616c696453657175656e63654576656e74436f64650000\", \"status\" => \"0x0\", \"to\" => \"0x37b538b66b56d0fa14633e4baeb6198497ce304d\", \"transactionHash\" => \"0xa019dece33dab729ae29b10274cb53df7912b2867d0f770069f9875c13fba392\", \"transactionIndex\" => \"0x0\"}\n\nErrors:\n  {:unknown_key, %{key: \"revertReason\", value: \"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001e436f6d6d6f6e496e76616c696453657175656e63654576656e74436f64650000\"}}\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: 1396]}, {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: 249]}]}}
State: %Indexer.Block.Catchup.Sequence{bound_queue: %Indexer.BoundQueue{maximum_size: nil, queue: {[{7205503, 7205494}, {7205513, 7205504}, {7205533, 7205524}, {7205593, 7205584}, {7205563, 7205554}, {7205543, 7205534}, {7205583, 7205574}, {7205553, 7205544}, {7205573, 7205564}, {7205673, 7205664}, {7205603, 7205594}, {7205613, 7205604}, {7205693, 7205684}, {7205683, 7205674}, {7205653, 7205644}, {7205643, 7205634}, {7205733, 7205724}, {7205663, 7205654}, {7205723, 7205714}, {7205633, 7205624}, {7205713, 7205704}, {7205703, 7205694}, {7205743, 7205734}, {7205763, 7205754}, {7205773, 7205764}, {7205753, 7205744}, {7205793, 7205784}, {7205783, 7205774}, {7205803, 7205794}, {7205813, 7205804}, {7205833, 7205824}, {7205853, 7205844}, {7205823, 7205814}, {7205863, 7205854}, {7205873, 7205864}, {7205843, 7205834}, {7205893, 7205884}, {7205903, 7205894}, {7205883, 7205874}, {7205913, 7205904}, {7205923, 7205914}, {7205933, 7205924}, {7205943, 7205934}, {7205953, 7205944}, {7205973, ...}, {...}, ...], [{7205423, 7205414}, {7205413, 7205404}, {7205403, 7205394}, {7205393, 7205384}, {7205383, 7205374}, {7205373, 7205364}, {7205363, 7205354}, {7205353, 7205344}, {7205343, 7205334}, {7205333, 7205324}, {7205323, 7205314}, {7205313, 7205304}, {7205303, 7205294}, {7205293, 7205284}, {7205283, 7205274}, {7205273, 7205264}, {7205263, 7205254}, {7205253, 7205244}, {7205243, 7205234}, {7205233, 7205224}, {7205223, 7205214}, {7205213, 7205204}, {7205203, 7205194}, {7205193, 7205184}, {7205183, 7205174}, {7205173, 7205164}, {7205163, 7205154}, {7205153, 7205144}, {7205143, 7205134}, {7205133, 7205124}, {7205123, 7205114}, {7205113, 7205104}, {7205103, 7205094}, {7205093, 7205084}, {7205083, 7205074}, {7205073, 7205064}, {7205063, 7205054}, {7205053, 7205044}, {7205043, 7205034}, {7205033, 7205024}, {7205023, 7205014}, {7205013, 7205004}, {7205003, 7204994}, {7204993, ...}, {...}, ...]}, size: 721035}, current: nil, step: -10}

However, when I configure the ENV variables described below:

ETHEREUM_JSONRPC_VARIANT=geth ETHEREUM_JSONRPC_HTTP_URL=http://xx.xx.xx.xx:8545 ETHEREUM_JSONRPC_WS_URL=ws://xx.xx.xx.xx:8546 make start

Blockscout starts correctly and it show blocks.

Is it necessary other configuration? What’s it wrong?

Thanks in advance

Hi @Albert_Ruiz which version of Besu and Blockscout do you use in your setup?

1 Like

@Albert_Ruiz I implemented a fix in this PR https://github.com/poanetwork/blockscout/pull/3182. It looks like Besu additionally returns revertReason in the response of eth_getTransactionReceipt API endpoint, which Blockscout doesn’t expect. Please try to prepare docker container from this branch https://github.com/poanetwork/blockscout/tree/besu-revert-reason and let me know if that fix resolves your issue.

Hi @viktorbaranov, thanks for your reply.
It seems that the revert reason error has been resolved. But it still doesn’t show blocks and transactions. Now it only appears the following error:

Retrying.
2020-07-06T20:21:25.326 application=indexer fetcher=block_catchup first_block_number=7143127 last_block_number=7143118 [error] ** (FunctionClauseError) no function clause matching in EthereumJSONRPC.HTTP.HTTPoison.json_rpc/3
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http/httpoison.ex:11: EthereumJSONRPC.HTTP.HTTPoison.json_rpc(nil, [91, ["{"", [[] | “id”], “”:", “0”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFECE”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “1”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFECF”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “2”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED0”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “3”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED1”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “4”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED2”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “5”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED3”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “6”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED4”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “7”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED5”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “8”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED6”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “9”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFED7”], 34], 93], 125], 93], [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]])
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http.ex:63: EthereumJSONRPC.HTTP.chunked_json_rpc/3
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:86: anonymous fn/3 in EthereumJSONRPC.RequestCoordinator.perform/4
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:106: EthereumJSONRPC.RequestCoordinator.trace_request/2
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/besu.ex:25: EthereumJSONRPC.Besu.fetch_beneficiaries/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:355: Indexer.Block.Fetcher.fetch_beneficiaries/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:140: Indexer.Block.Fetcher.fetch_and_import_range/2
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3

Retrying.
2020-07-06T20:21:25.329 application=indexer fetcher=block_catchup first_block_number=7143107 last_block_number=7143098 [error] ** (FunctionClauseError) no function clause matching in EthereumJSONRPC.HTTP.HTTPoison.json_rpc/3
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http/httpoison.ex:11: EthereumJSONRPC.HTTP.HTTPoison.json_rpc(nil, [91, ["{"", [[] | “id”], “”:", “0”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEBA”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “1”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEBB”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “2”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEBC”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “3”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEBD”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “4”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEBE”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “5”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEBF”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “6”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEC0”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “7”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEC1”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “8”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEC2”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “9”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x6CFEC3”], 34], 93], 125], 93], [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]])
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http.ex:63: EthereumJSONRPC.HTTP.chunked_json_rpc/3
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:86: anonymous fn/3 in EthereumJSONRPC.RequestCoordinator.perform/4
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:106: EthereumJSONRPC.RequestCoordinator.trace_request/2
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/besu.ex:25: EthereumJSONRPC.Besu.fetch_beneficiaries/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:355: Indexer.Block.Fetcher.fetch_beneficiaries/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:140: Indexer.Block.Fetcher.fetch_and_import_range/2
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3

@Albert_Ruiz

which version of Besu

Can you provide this info?

What are the responses of trace_block requests for some of the blocks in the range of numbers [7143118, 7143127] from your archive node? Several responses would be enough for the beginning of the investigation.

Hi @viktorbaranov, Besu version is v1.3.8, in this version there is no Trace API methods option.

I created a new Besu network with v1.5.0-RC2, but it doesn’t show blocks and transactions. In this network I configured Trace. It show the following responses:

Error:

Retrying.
2020-07-07T13:35:37.999 application=indexer fetcher=block_catchup first_block_number=544 last_block_number=535 [error] ** (FunctionClauseError) no function clause matching in EthereumJSONRPC.HTTP.HTTPoison.json_rpc/3
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http/httpoison.ex:11: EthereumJSONRPC.HTTP.HTTPoison.json_rpc(nil, [91, ["{"", [[] | “id”], “”:", “0”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x217”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “1”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x218”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “2”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x219”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “3”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x21A”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “4”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x21B”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “5”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x21C”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “6”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x21D”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “7”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x21E”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “8”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x21F”], 34], 93], 125], 44, ["{"", [[] | “id”], “”:", “9”, “,”", [[] | “jsonrpc”], “”:", [34, [[] | “2.0”], 34], “,”", [[] | “method”], “”:", [34, [[] | “trace_block”], 34], “,”", [[] | “params”], “”:", [91, [34, [[] | “0x220”], 34], 93], 125], 93], [recv_timeout: 600000, timeout: 600000, hackney: [pool: :ethereum_jsonrpc]])
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/http.ex:63: EthereumJSONRPC.HTTP.chunked_json_rpc/3
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:86: anonymous fn/3 in EthereumJSONRPC.RequestCoordinator.perform/4
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/request_coordinator.ex:106: EthereumJSONRPC.RequestCoordinator.trace_request/2
(ethereum_jsonrpc 0.1.0) lib/ethereum_jsonrpc/besu.ex:25: EthereumJSONRPC.Besu.fetch_beneficiaries/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:355: Indexer.Block.Fetcher.fetch_beneficiaries/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:140: Indexer.Block.Fetcher.fetch_and_import_range/2
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3

curl -X POST --data ‘{“jsonrpc”:“2.0”,“method”:“trace_block”,“params”:[“535”],“id”:1}’ http://127.0.0.1:8555

{
“jsonrpc” : “2.0”,
“id” : 1,
“result” : [ {
“action” : {
“author” : “0x2aef49542cf3d83560fd5599b097d34f444b934e”,
“rewardType” : “block”,
“value” : “0x”
},
“blockHash” : “0xcdf9002fc19be3e33015003136c3f3fc299c58d067d077d6dba8b795c6fab983”,
“blockNumber” : 535,
“result” : null,
“subtraces” : 0,
“traceAddress” : [ ],
“transactionHash” : null,
“transactionPosition” : null,
“type” : “reward”
} ]
}

curl -X POST --data ‘{“jsonrpc”:“2.0”,“method”:“trace_block”,“params”:[“544”],“id”:1}’ http://127.0.0.1:8555

{
“jsonrpc” : “2.0”,
“id” : 1,
“result” : [ {
“action” : {
“author” : “0x2aef49542cf3d83560fd5599b097d34f444b934e”,
“rewardType” : “block”,
“value” : “0x”
},
“blockHash” : “0xa4a60fee54c88cd0e1972c772bb186f2ce33d2a252059c062c87b1e53814c41f”,
“blockNumber” : 544,
“result” : null,
“subtraces” : 0,
“traceAddress” : [ ],
“transactionHash” : null,
“transactionPosition” : null,
“type” : “reward”
} ]
}

curl -X POST --data ‘{“jsonrpc”“2.0”,“method”:“trace_block”,“params”:[“540”],“id”:1}’ http://127.0.0.1:8555

{
“jsonrpc” : “2.0”,
“id” : 1,
“result” : [ {
“action” : {
“author” : “0x2aef49542cf3d83560fd5599b097d34f444b934e”,
“rewardType” : “block”,
“value” : “0x”
},
“blockHash” : “0xf9c03cc12e3f9621a48211a5f970aadad9eaef7aa472b23c511275c94b9ac380”,
“blockNumber” : 540,
“result” : null,
“subtraces” : 0,
“traceAddress” : [ ],
“transactionHash” : null,
“transactionPosition” : null,
“type” : “reward”
} ]
}

Thanks!

Could you show a response for any of the block with transactions inside range numbers [7143118, 7143127]? since errors are in this range of block numbers. If no transactions for any block in the range, then response for any block in this range.

Hi @viktorbaranov,
I put logs of the new network where appears de same error,.

2020-07-07T13:35:37.999 application=indexer fetcher=block_catchup first_block_number=544 last_block_number=535 [error] ** (FunctionClauseError) no function clause matching in EthereumJSONRPC.HTTP.HTTPoison.json_rpc/3

And some trace_block responses inside range numbers [535, 544]

curl -X POST --data ‘{“jsonrpc”:“2.0”,“method”:“eth_getBlockByNumber”,“params”:[“540”, true],“id”:1}’ http://xx.xx.xx.xx:8555

{
“jsonrpc” : “2.0”,
“id” : 1,
“result” : {
“number” : “0x21c”,
“hash” : “0xf9c03cc12e3f9621a48211a5f970aadad9eaef7aa472b23c511275c94b9ac380”,
“mixHash” : “0x63746963616c2062797a616e74696e65206661756c7420746f6c6572616e6365”,
“parentHash” : “0xca9f60755a6a3b7eba6cc2b7a0ae69a800825776d0152a1cc73674cda9b68753”,
“nonce” : “0x0000000000000000”,
“sha3Uncles” : “0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347”,
“logsBloom” : “0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000”,
“transactionsRoot” : “0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421”,
“stateRoot” : “0x0d1545f43ed56d36e2a8a021e54e44e4c7d00192fe7d799cad96ea836d82ed97”,
“receiptsRoot” : “0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421”,
“miner” : “0x2aef49542cf3d83560fd5599b097d34f444b934e”,
“difficulty” : “0x1”,
“totalDifficulty” : “0x100021c”,
“extraData” : “0xf882a00000000000000000000000000000000000000000000000000000000000000000d5942aef49542cf3d83560fd5599b097d34f444b934e808400000000f843b841281ad125957a1901a6350eb4d329bc0dba1013cd6a238f86c8c04691cd99700e2cf79fa2dd900eb9f106090bdf5029ff73bded17b654ab58ced752dde6d7d7a601”,
“size” : “0x287”,
“gasLimit” : “0x1fffffffffffff”,
“gasUsed” : “0x0”,
“timestamp” : “0x5f047286”,
“uncles” : [ ],
“transactions” : [ ]
}
}

Did you set ETHEREUM_JSONRPC_TRACE_URL endpoint ? If you have a single JSON RPC endpoint, the value should match with the value for ETHEREUM_JSONRPC_HTTP_URL environment variable

Hi @viktorbaranov,
I tried to start Blockscout inlcuding ETHEREUM_JSONRPC_TRACE_URL

ETHEREUM_JSONRPC_VARIANT=besu ETHEREUM_JSONRPC_HTTP_URL=http://xx.xx.xx.xx:8555 ETHEREUM_JSONRPC_WS_URL=ws://xx.xx.xx.xx:8556 ETHEREUM_JSONRPC_TRACE_URL=http://xx.xx.xx.xx:8555 make start

It doesn’t show blocks and transactions. It show the following errors:

Retrying.
2020-07-08T15:19:04.234 application=indexer fetcher=block_catchup first_block_number=8997 last_block_number=8988 [error] ** (MatchError) no match of right hand side value: :error
(indexer 0.1.0) lib/indexer/block/fetcher.ex:437: Indexer.Block.Fetcher.reward_with_gas/3
(elixir 1.10.2) lib/enum.ex:1400: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3383: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3686: Enumerable.List.reduce/3
(elixir 1.10.2) lib/enum.ex:3383: Enum.map/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:168: Indexer.Block.Fetcher.fetch_and_import_range/2
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3
(elixir 1.10.2) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2

Retrying.
2020-07-08T15:19:04.239 application=indexer fetcher=block_catchup first_block_number=9027 last_block_number=9018 [error] ** (MatchError) no match of right hand side value: :error
(indexer 0.1.0) lib/indexer/block/fetcher.ex:437: Indexer.Block.Fetcher.reward_with_gas/3
(elixir 1.10.2) lib/enum.ex:1400: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3383: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3686: Enumerable.List.reduce/3
(elixir 1.10.2) lib/enum.ex:3383: Enum.map/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:168: Indexer.Block.Fetcher.fetch_and_import_range/2
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3
(elixir 1.10.2) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2

Retrying.
2020-07-08T15:19:04.246 application=indexer fetcher=block_catchup first_block_number=8987 last_block_number=8978 [error] ** (MatchError) no match of right hand side value: :error
(indexer 0.1.0) lib/indexer/block/fetcher.ex:437: Indexer.Block.Fetcher.reward_with_gas/3
(elixir 1.10.2) lib/enum.ex:1400: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3383: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3686: Enumerable.List.reduce/3
(elixir 1.10.2) lib/enum.ex:3383: Enum.map/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:168: Indexer.Block.Fetcher.fetch_and_import_range/2
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3
(elixir 1.10.2) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2

Retrying.
2020-07-08T15:19:04.252 application=indexer fetcher=block_catchup first_block_number=8937 last_block_number=8928 [error] ** (MatchError) no match of right hand side value: :error
(indexer 0.1.0) lib/indexer/block/fetcher.ex:437: Indexer.Block.Fetcher.reward_with_gas/3
(elixir 1.10.2) lib/enum.ex:1400: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3383: anonymous fn/3 in Enum.map/2
(elixir 1.10.2) lib/enum.ex:3686: Enumerable.List.reduce/3
(elixir 1.10.2) lib/enum.ex:3383: Enum.map/2
(indexer 0.1.0) lib/indexer/block/fetcher.ex:168: Indexer.Block.Fetcher.fetch_and_import_range/2
(indexer 0.1.0) lib/indexer/block/catchup/fetcher.ex:194: Indexer.Block.Catchup.Fetcher.fetch_and_import_range_from_sequence/3
(elixir 1.10.2) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2

Thanks!

Is Besu client launched in archive mode from genesis block?

To run an archive node, enable full synchronization using --sync-mode=FULL , which by default also disables pruning ( --pruning-enabled=false ).

Hello @viktorbaranov
I launched the Besu client without specifying the sync-mode, by default it is then FULL.

The synchronization mode. The options are FAST and FULL . The default is FULL .

Thanks

Do you have a reward for validators? I see from your logs:

“rewardType” : “block”,
“value” : “0x”

Is this intentional?

Hi @viktorbaranov,
That’s the config with which I launched Besu Client.

besu --data-path=/opt/node/data --genesis-file=/opt/node/genesis.json --rpc-http-enabled --rpc-http-host=0.0.0.0 --host-whitelist=* --rpc-http-cors-origins=all --rpc-http-api=ETH,NET,IBFT,ADMIN,WEB3,PERM,EEA,PRIV --permissions-accounts-contract-enabled --permissions-accounts-contract-address=0x0000000000000000000000000000000000008888 --permissions-nodes-contract-enabled --permissions-nodes-contract-address=0x0000000000000000000000000000000000009999 --bootnodes --min-gas-price=5000000000 --p2p-host=0.0.0.0 --revert-reason-enabled=true --rpc-ws-enabled --rpc-ws-host=0.0.0.0 --rpc-ws-port=8546 --metrics-enabled --metrics-host=0.0.0.0 --metrics-port=9545

There isn’t reward for validators.

Thanks

@Albert_Ruiz thanks for the details, that you provided. I handled empty reward for block author as itis in your chain. Please, try to pull updates from besu-revert-reason branch.

1 Like

@Albert_Ruiz The fix merged to master branch.

1 Like

Hi @viktorbaranov,
I haven’t tried it yet. I’ve been away these days. I’ll try it asap.

Thanks!

1 Like

Hi Albert,
any updates on it?

Hi @igorbarinov @viktorbaranov,

I’ve just tested and it’s working correctly. It’s required ETHEREUM_JSONRPC_TRACE_URL variable.

ETHEREUM_JSONRPC_VARIANT=besu ETHEREUM_JSONRPC_HTTP_URL=http://xx.xx.xx.xx:8545 ETHEREUM_JSONRPC_WS_URL=ws://xx.xx.xx.xx::8546 ETHEREUM_JSONRPC_TRACE_URL=http://xx.xx.xx.xx::8545 make start

Thank you so much for everything.

3 Likes