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

debug_traceBlockByNumber method missing tx #3122

Open
ella-quicknode opened this issue Oct 17, 2024 · 0 comments
Open

debug_traceBlockByNumber method missing tx #3122

ella-quicknode opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ella-quicknode
Copy link

🐛 Bug Report

We currently on: matterlabs/external-node, tag: v24.27.0-alpha

debug_traceBlockByNumber has missing tx.

📝 Description

Call eth_getBlockByNumber method it gives you 15 tx, but when you call debug_traceBlockByNumber method, it returns only 14 tx.

curl 'http://localhost:8545' \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_getBlockByNumber","params":["0xE147D8",false],"id":1,"jsonrpc":"2.0"}' | jq '.result.transactions | length'

curl 'http://localhost:8545' \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"debug_traceBlockByNumber","params":["0xE147D8", {"tracer": "callTracer"}],"id":1,"jsonrpc":"2.0"}' | jq '.result | length'

I ran data comparison for the block 0xE147D8 and seeing this tx hash is missed out from the debug method.

  {
        "hash": "0x7bd352c4a6897c540cb40edc67a261ff9f42a853654423680fe2a3dbde30902d",
        "nonce": "0x0",
        "blockHash": "0x8defa2908195fd65ef9f6476400902d22db8386e22bf247b1fc372f3f14600e3",
        "blockNumber": "0xe147d8",
        "transactionIndex": "0x6",
        "from": "0x5687e5fb9f194925a656ae44d3abd62f2062c2b9",
        "to": "0xb535573c2f55de0386e8b781572058f29609ae50",
        "value": "0x0",
        "gasPrice": "0xee6b280",
        "gas": "0x10020b",
        "input": "0xa7e1e47b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000005687e5fb9f194925a656ae44d3abd62f2062c2b96630613833323035386538643637636238326264363064306137666532306300",
        "v": "0x0",
        "r": "0x68678279800d64faf668cec107c8c8ce7a0fc7219ab1ca0f169df303a2dc2b1d",
        "s": "0x307873e2b7f0d19bf7b55b5c32e1cef7f15cf9fb42ae6f2baf5d9f574df3233a",
        "type": "0x71",
        "maxFeePerGas": "0xee6b280",
        "maxPriorityFeePerGas": "0x0",
        "chainId": "0x144",
        "l1BatchNumber": "0x394e2",
        "l1BatchTxIndex": "0x211"
    }
@ella-quicknode ella-quicknode added the bug Something isn't working label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant