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

Unexpected gasUsed in debug_traceBlockByNumber result #2346

Open
s7v7nislands opened this issue Dec 12, 2024 · 0 comments
Open

Unexpected gasUsed in debug_traceBlockByNumber result #2346

s7v7nislands opened this issue Dec 12, 2024 · 0 comments
Labels
triage Issue needs triaging type:bug Something isn't working

Comments

@s7v7nislands
Copy link

Expected Behavior

gasUsed is reasonable

Actual Behavior

gasUsed in trace is more than total in transaction

Steps to reproduce the behavior

curl --location 'https://xxxx' \
--header 'Content-Type: application/json' \
--data '[{
	"jsonrpc":"2.0",
	"method":"debug_traceBlockByNumber",
	"params":[
		"0x1be820d",
        {
            "tracer": "callTracer"
        }
	],
	"id":1
}]'

[
    {
        "jsonrpc": "2.0",
        "id": 1,
        "result": [
             ...
              {
                                                    "type": "STATICCALL",
                                                    "from": "0x0000000000000000000000000000000000000000",
                                                    "to": "0x000000000000000000000000000000000000ce10",
                                                    "gas": "0x186a0",
                                                    "gasUsed": "0xfffffffffff90dbb",
                                                    "input": "0xdd927233d7e89ade8430819f08bf97a087285824af3351ee12d72a2d132b0c6c0687bfaf",
            ...
      ],
     }
]

System Information

Chain/Network: Mainnet

@s7v7nislands s7v7nislands added triage Issue needs triaging type:bug Something isn't working labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Issue needs triaging type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant