-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
A-rpcRelated to the RPC implementationRelated to the RPC implementationC-bugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorM-prevent-stalePrevents old inactive issues/PRs from being closed due to inactivityPrevents old inactive issues/PRs from being closed due to inactivityS-needs-investigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Description
Describe the bug
For this tx 0x00f139f7deb8b18d27bbed972720ba4e8a3b7d9806b186bdb29cdbfff3b95a9e,
we request the result as:
{
"jsonrpc": "2.0",
"method": "trace_transaction",
"id": 67,
"params": [
"0x00f139f7deb8b18d27bbed972720ba4e8a3b7d9806b186bdb29cdbfff3b95a9e"
]
}
the response is:
{
"id": 67,
"jsonrpc": "2.0",
"result": [
{
"action": {
"callType": "call",
"from": "0x93f3ef9fa5e668b0ccf5ad93e53f991aaea6131c",
"gas": "0x1068",
"input": "0x",
"to": "0x28c6c06298d514db089934071355e5743bf21d60",
"value": "0x12134e80a17c78e"
},
"blockHash": "0x92486dfdb758642482f94049048abbef3d6c6aeaeaac30df0e005473d6a83f05",
"blockNumber": 17626652,
"result": {
"gasUsed": "0x0",
"output": "0x"
},
"subtraces": 0,
"traceAddress": [],
"transactionHash": "0x00f139f7deb8b18d27bbed972720ba4e8a3b7d9806b186bdb29cdbfff3b95a9e",
"transactionPosition": 349,
"type": "call"
}
]
}
The gas and gas_used are incorrect, these two values should be taken out of the transaction structure, see more in this pr ethereum/go-ethereum#27029
Steps to reproduce
⬆
Node logs
No response
Platform(s)
Linux (x86)
What version/commit are you on?
What database version are you on?
No response
If you've built Reth from source, provide the full command you used
docker build
Code of Conduct
- I agree to follow the Code of Conduct
Metadata
Metadata
Assignees
Labels
A-rpcRelated to the RPC implementationRelated to the RPC implementationC-bugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorM-prevent-stalePrevents old inactive issues/PRs from being closed due to inactivityPrevents old inactive issues/PRs from being closed due to inactivityS-needs-investigationThis issue requires detective work to figure out what's going wrongThis issue requires detective work to figure out what's going wrong
Type
Projects
Status
Done