Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

debug_traceTransaction warnings with Blockscout potentially related errors #1945

Open
sebastiendan opened this issue Sep 29, 2023 · 6 comments

Comments

@sebastiendan
Copy link

sebastiendan commented Sep 29, 2023

Edge debug_traceTransaction warnings while Blockscout fails to fetch internal transactions

Description

Running Blockscout to explore a Polygon Edge network, logs show Blockscout errors and potentially related Edge warnings.

Blockscout error:

2023-09-29T12:58:50.878 application=indexer fetcher=internal_transaction count=15 error_count=15 [error] failed to fetch internal transactions for blocks: 
** (ErlangError) Erlang error: [%{
  code: -32603, 
  data: %{
    block_number: 173, 
    transaction_hash: "0xf16d8ae5bd994f6694142eafa685ace4d84a6ceb305d024cb896a25f67b953d9", 
    transaction_index: 0
  }, 
message: "Internal error"}]

Edge warning:

Sep 28 20:28:57 ip-10-20-169-54 topos.sh[12757]: 2023-09-28T20:28:57.973037Z  WARN topos::edge: "polygon.server.dispatcher": "failed to dispatch" 
err:"json: unsupported type: map[structtracer.StorageAccess]bool" method:"debug_traceTransaction"

Your environment

  • ubuntu Kubernetes nodes on AWS
  • blockscout deployed with official helm chart (blockscout v5.2.3-beta, chart 1.1.5)
  • edge v1.1.0
@goran-ethernal
Copy link
Collaborator

Can you send us how the rpc call looks like to that debug_traceTransaction that BlockScout is sending to Edge? Basically, how the request looks like (which parameters are set, etc).

@RonTuretzky
Copy link

I think you should upgrade to edge 1.3, solved most of my problems with blockscout

@sebastiendan
Copy link
Author

@RonTuretzky I just tried with edge v1.3.0 and still face the issue if I re-enable the internal tx fetcher

@sebastiendan
Copy link
Author

Can you send us how the rpc call looks like to that debug_traceTransaction that BlockScout is sending to Edge? Basically, how the request looks like (which parameters are set, etc).

I'm not sure how to get that from blockscout's logs. Would have any advice?

@RonTuretzky
Copy link

RonTuretzky commented Oct 24, 2023

@RonTuretzky I just tried with edge v1.3.0 and still face the issue if I re-enable the internal tx fetcher

From what I understand polygon edge doesn't support internal tx fetching , is that true @goran-ethernal ?

@goran-ethernal
Copy link
Collaborator

@RonTuretzky No, Edge does not support that unfortunately.

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

No branches or pull requests

3 participants