Sitelet https://github.com/Fantom-foundation/go-opera/issues/544
Skip to content

trace_block gas field not equal to debug_traceBlockByNumber output #544

Description

@quick-pawiromitchel

Describe the bug
debug_traceBlockByNumber returns 0x3f9a0 but trace_block returns 0x31082

Version go-opera/v1.1.3-txtracing-rc.5

To Reproduce

curl 'localhost:8545' -X POST -H "Content-Type: application/json" --data '{"method":"debug_traceBlockByNumber","params":["0x4d8fea4", {"tracer":"callTracer","timeout":"300s"}], "id":1,"jsonrpc":"2.0"}' | jq -r '.result[0].result.gas'

Responds with 0x3f9a0

curl 'localhost:8545' -X POST -H "Content-Type: application/json" --data '{"method":"trace_block","params":["0x4d8fea4"], "id":1,"jsonrpc":"2.0"}' | jq -r '.result[0].action.gas'

Responds with 0x31082

Expected behavior
Same gas value

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions