Skip to content

There is no miner data for prestateTracer #26745

@PPianAIC

Description

@PPianAIC

System information

Geth
Version: 1.10.26-stable
Architecture: arm64
Go Version: go1.18.9
Operating System: linux
GOPATH=
GOROOT=go

Command

./geth --datadir /data1/ethereum/ethereum/.ethereum --http --http.port 8454 --http.addr "0.0.0.0" --http.api eth,net,engine,admin,debug,txpool,web3,trace --ws --ws.addr "0.0.0.0" --ws.port 8456 --ws.origins "" --http.corsdomain "" --rpc.allow-unprotected-txs --txlookuplimit 0 --allow-insecure-unlock --maxpeers 1000 --gcmode archive --cache 56000 --authrpc.addr "0.0.0.0" --authrpc.port 8551 --authrpc.vhosts localhost --authrpc.jwtsecret /data1/ethereum/ethereum/consensus/prysm/jwt.hex

Question

I have two questions,

  1. There is no miner data
  2. The data format is not pre&post

I really want an answer.Thanks!

Blockchain Explorer Data

Address Before After State Difference
  0x1158c3...E6FfCf0F      
  0x276c5C...f54B58D3      
  0x580992...2f17E038Miner 88,931.537917230341871581 Eth 88,931.542324750341871581 Eth 0.00440752
  0x9Af099...4027608b 0.000000000000010717 Eth 0.000000000000010718 Eth 0.000000000000000001
  0xC400b9...8Aef8463 11.779914024273869549 EthNonce: 9488 11.775506504273869548 EthNonce: 9489 0.004407520000000001

This is the result of my request

curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc": "2.0", "method": "debug_traceTransaction", "params": ["0x8c292eaaab14744ad493ecd11da92fa6403d20b6d189ddd75ffdc12affc618a3", {"tracer": "prestateTracer", "tracerConfig": {"diffMode": true }}], "id":67}' http://127.0.0.1:8454

{
    "jsonrpc":"2.0",
    "id":1,
    "result":{
        "0x1158c3c9a70e85d8358972810ed984c8e6ffcf0f":{
            "balance":"0x0",
            "nonce":0,
            "code":"",
            "storage":Object{...}
        },
        "0x276c5c6ca8507ed7bac085fc9b9521f4f54b58d3":{
            "balance":"0x0",
            "nonce":0,
            "code":"",
            "storage":Object{...}
        },
        "0x9af09991ad63814e53ffc1bccf213ee74027608b":{
            "balance":"0x29dd",
            "nonce":0,
            "code":"",
            "storage":Object{...}
        },
        "0xc400b9d93a23b0be5d41ab337ad605988aef8463":{
            "balance":"0xa37aa964757c7aed",
            "nonce":9488,
            "code":"0x",
            "storage":{
            }
        }
    }
}

Expected data format

{
    "jsonrpc": "2.0",
    "id": 67,
    "result": {
        "pre": {
            "0x082d4cdf07f386ffa9258f52a5c49db4ac321ec6": {
                "balance": "0xc820f93200f4000",
                "nonce": 94,
                "code": "0x",
                "storage": {}
            },
            "0x332b656504f4eabb44c8617a42af37461a34e9dc": {
                "balance": "0x11faea4f35e5af80000",
                "nonce": 0,
                "code": "0x",
                "storage": {
                    "0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000000000000000000000000000000000000000000"
                }
            },
            "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5": {
                "balance": "0xbf681825be002ac452",
                "nonce": 28922,
                "code": "0x",
                "storage": {}
            },
            "0x82effbaaaf28614e55b2ba440fb198e0e5789b0f": {
                "balance": "0xb3d0ac5cb94df6f6b0",
                "nonce": 1,
                "code": "0x",
                "storage": {}
            }
        },
        "post": {
            "0x082d4cdf07f386ffa9258f52a5c49db4ac321ec6": {
                "balance": "0xc7d4d88af8b4c00",
                "nonce": 95,
                "code": "0x",
                "storage": {}
            },
            "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5": {
                "balance": "0xbf681ce7c870aeb852",
                "nonce": 0,
                "code": "0x",
                "storage": {}
            },
            "0x82effbaaaf28614e55b2ba440fb198e0e5789b0f": {
                "balance": "0x1d37f515017a8eef6b0",
                "nonce": 0,
                "code": "0x",
                "storage": {}
            }
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions