This repository was archived by the owner on Feb 18, 2025. It is now read-only.
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
debug_traceBlockByNumber return is not compatible to geth #647
Closed
Description
System information
Geth version: geth version
OS & Version: Windows/Linux/OSX
Commit hash : (if develop
)
Expected behaviour
transactionHash should be txHash
curl --location 'https://xxxx' \
--header 'Content-Type: application/json' \
--data '[{
"jsonrpc":"2.0",
"method":"debug_traceBlockByNumber",
"params":[
"0x26d292f",
{
"tracer": "callTracer"
}
],
"id":1
}]'
[
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"txHash": "0x6c4df6dd68b9ab506494fb4525b86ff49f7371a2b16cbf217caca86bf02b06cf",
"result": {
"from": "0x5ea0cebf694288d13a70e43ecc6df902c5b451db",
"gas": "0x7a120",
"gasUsed": "0x5721a",
"to": "0xfff9ce5f71ca6178d3beecedb61e7eff1602950e",
...
Actual behaviour
curl --location 'https://xxxx' \
--header 'Content-Type: application/json' \
--data '[{
"jsonrpc":"2.0",
"method":"debug_traceBlockByNumber",
"params":[
"0x26d292f",
{
"tracer": "callTracer"
}
],
"id":1
}]'
[
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"transactionHash": "0x6c4df6dd68b9ab506494fb4525b86ff49f7371a2b16cbf217caca86bf02b06cf",
"result": {
"from": "0x5ea0cebf694288d13a70e43ecc6df902c5b451db",
"gas": "0x7a120",
"gasUsed": "0x5721a",
"to": "0xfff9ce5f71ca6178d3beecedb61e7eff1602950e",
...
Steps to reproduce the behaviour
Backtrace
[backtrace]
When submitting logs: please submit them as text and not screenshots.
Metadata
Metadata
Assignees
Labels
No labels
Activity