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

Missing indices for contracts deployed with CREATE2 and internal transactions #6

Open
thecookfrankie opened this issue Jan 5, 2024 · 2 comments

Comments

@thecookfrankie
Copy link

thecookfrankie commented Jan 5, 2024

Description

Contracts deployed with CREATE2 are still marked as EOA and no internal transaction is recorded.

The issue can be observed with the following contracts, which were all deployed with CREATE2:

  • EntryPoint: 0x4271A0C0e0621504A6614d1f94A49A5aa583aCd0
  • SCA: 0x0f8751318e127ddd31b9c053622360008c197758

Type of the installation

Docker-compose

Type of the JSON RPC archive node

Polygon-zkEVM

Type of the chain

L2

Link to the page

No response

Steps to reproduce

No response

Backend version

N/A

Frontend version

No response

Elixir & Erlang/OTP versions

N/A

Operating system

No response

Additional information

No response

@oxf71
Copy link
Collaborator

oxf71 commented Jan 5, 2024

testnet blockscout set INDEXER_DISABLE_INTERNAL_TRANSACTIONS_FETCHER=true

if set false, blockscout fetch internal err

backend-1  | {"time":"2024-01-05T14:51:12.710Z","severity":"error","message":"failed to fetch internal transactions for blocks: ** (ErlangError) Erlang error: [%{code: -32601, data: %{block_number: 14322, transaction_hash: \"0xb6b3d3f5f9d32273f96040d7518023e08559db1c6228c0d53f84bc96ed43a0cd\", transaction_index: 0}, message: \"the method debug_traceTransaction does not exist/is not available\"}]","metadata":{"count":10,"error_count":10,"fetcher":"internal_transaction"}}

zkevm supports the debug_traceTransaction method, but may need to request the debug api

https://github.com/b2network/b2-zkevm-node/blob/dev/docs/json-rpc-endpoints.md

Whether zkevm has some debug api? @tony-armstrong

https://github.com/b2network/b2-zkevm-node/blob/379266e4844e61ebbf33a69af08405b218680415/cmd/run.go#L375

@thecookfrankie thecookfrankie moved this to Todo in b2network Jan 8, 2024
@thecookfrankie thecookfrankie removed the status in b2network Jan 8, 2024
@thecookfrankie thecookfrankie moved this to Todo in b2network Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants