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

Polygon mainnet debug_traceTransaction execution reverted #7568

Closed
artjoma opened this issue May 23, 2023 · 2 comments
Closed

Polygon mainnet debug_traceTransaction execution reverted #7568

artjoma opened this issue May 23, 2023 · 2 comments
Labels

Comments

@artjoma
Copy link

artjoma commented May 23, 2023

System information

Erigon version: 2.43.0

OS & Version: Linux

Erigon Command (with flags/config):

 --chain=bor-mainnet \
 --snapshots=true \
 --datadir=/home/blockchain/polygon-mainnet/chaindata \
 --db.pagesize=16kb \
 --bor.heimdall=http://x.x.x.x:1317 \
 --p2p.protocol=66 \
 --port=30304 \
 --no-downloader \
 --private.api.addr=127.0.0.1:9090 \
 --bootnodes="enode://0cb82b395094ee4a2915e9714894627de9ed8498fb881cec6db7c65e8b9a5bd7f2f25cc84e71e89d0947e51c76e85d0847de848c7782b13c0255247a6758178c@44.232.55.71:30303","enode://88116f4295f5a31538ae409e4d44ad40d22e44ee9342869e7d68bdec55b>
 --torrent.port=42069 \
 --metrics --metrics.port=8695 --metrics.addr=0.0.0.0

Chain/Network: Polygon mainnet

Expected behaviour

Should be success! https://polygonscan.com/vmtrace?txhash=0x19afd31a9327af30b1d7abf1d46efa228af0747268e618fcf06dcb62655999f8&type=gethtrace2

Steps to reproduce the behaviour

API call: {"jsonrpc":"2.0","method":"debug_traceTransaction","params":["0x19afd31a9327af30b1d7abf1d46efa228af0747268e618fcf06dcb62655999f8",{"tracer":"callTracer","timeout":"1200s"}],"id":1}
Result:

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "from": "0xdcbc90de0e271ae34f95b53411ab4ea8c1b40401",
    "gas": "0x2a34a0",
    "gasUsed": "0xc0a6",
    "to": "0xefa413de95fd661346c6de01342b4779df2dd517",
    "input": "0xeaa79076a39d96a5c6bb06d0899f95f3298f091696213755a9b9e509acad2f4e0d500b1d8e8ef31e21c99d1db9a6444d3adf127000010026f227105005a83c6458f750ad65f9ea83ef2182917cec4970c006878a5a50ed185ac4c87d837633923de29600010026f2271046c753ff9d653f268ab173a3c8412818ba06ad47503836c8c3a453c57f58cc99b070f2e78ec14fc00b46547e9d19e43c000000000a01ff89e3735d0e500000646d1fb0",
    "error": "execution reverted",
    "calls": [
      {
        "from": "0xefa413de95fd661346c6de01342b4779df2dd517",
        "gas": "0x297860",
        "gasUsed": "0x9c8",
        "to": "0x70bac420150c6481cfedadc0ef0ee509acad2f4e",
        "input": "0x0902f1ac",
        "output": "0x0000000000000000000000000000000000000000000003a8e52048f7bd96def0000000000000000000000000000000000000000000016246b66366cf83a72e3000000000000000000000000000000000000000000000000000000000646d1a3c",
        "type": "STATICCALL"
      },
      {
        "from": "0xefa413de95fd661346c6de01342b4779df2dd517",
        "gas": "0x2962bd",
        "gasUsed": "0x9c8",
        "to": "0x5005a83c6458f750ad65f9ea83ef2182917cec49",
        "input": "0x0902f1ac",
        "output": "0x0000000000000000000000000000000000000000000064080e5c520a284ac24a00000000000000000000000000000000000000000000641a2064fdea68b1a1f100000000000000000000000000000000000000000000000000000000646cdc42",
        "type": "STATICCALL"
      },
      {
        "from": "0xefa413de95fd661346c6de01342b4779df2dd517",
        "gas": "0x294d0b",
        "gasUsed": "0x9c8",
        "to": "0x46c753ff9d653f268ab173a3c8412818ba06ad47",
        "input": "0x0902f1ac",
        "output": "0x00000000000000000000000000000000000000000000025433dee5b9bebaf9a700000000000000000000000000000000000000000000dce82797eb0b1087a71600000000000000000000000000000000000000000000000000000000646d1fb0",
        "type": "STATICCALL"
      }
    ],
    "value": "0x0",
    "type": "CALL"
  }
}

Related issue: node-real#74

@github-actions
Copy link

github-actions bot commented Jul 4, 2023

This issue is stale because it has been open for 40 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jul 4, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant