-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 API debug_traceTransaction incorrect gasCost #6969
Labels
A-execution
Related to the Execution and EVM
C-bug
An unexpected or incorrect behavior
M-prevent-stale
Prevents old inactive issues/PRs from being closed due to inactivity
Comments
Maybe paradigmxyz/revm-inspectors#45 can fix this one |
this was most likely fixed by paradigmxyz/revm-inspectors#38 but it's possible that there's still an edge case so I keep this open and debug with newest release |
This issue is stale because it has been open for 21 days with no activity. |
Confirmed this to be working now, this is from our public instance:
{
"pc": 16097,
"op": "SWAP1",
"gas": 189125,
"gasCost": 3,
"depth": 3,
"stack": [
"0xe5d7bde6",
"0x42e",
"0xe4",
"0x464",
"0x40",
"0x4c4",
"0x17e",
"0x172f42fece2ac94403f",
"0x0",
"0xe4e369f1e00bc24",
"0xcd02a882804f3eb0f2d80f94a04defcea038359f",
"0x172f42fece2ac94403f",
"0xe3cd110565f9aed",
"0x67814c1b9165b52ccbfcd7cae98fe50f24744b24f1c2715f99382da6421b259",
"0xe4",
"0x0",
"0x1fe5",
"0x4c45bbec2ff7810ef4a77ad7bd4757c446fe4155",
"0xcac5ab3dd18d859382d52bbbc008e0be40a6c38e",
"0xcd02a882804f3eb0f2d80f94a04defcea038359f",
"0x172f42fece2ac94403f",
"0x244",
"0x0",
"0x0",
"0x23b872dd00000000000000000000000000000000000000000000000000000000",
"0x80",
"0x1"
],
"refund": 4800
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-execution
Related to the Execution and EVM
C-bug
An unexpected or incorrect behavior
M-prevent-stale
Prevents old inactive issues/PRs from being closed due to inactivity
Describe the bug
When getting
debug_tracetransaction
it looks like there can be an int overflow on thegasCost
values instructLogs
.Random mainnet transaction
0x48b7c61378bbd2fff08912109815161f5835735a0b6cbec9d0c7ef72b31619fb
example;Compared to geth
reth.json
geth.json
Steps to reproduce
Search for uint64 max
"gasCost": 18446744073
Node logs
No response
Platform(s)
Linux (x86)
What version/commit are you on?
reth/v0.1.0-alpha.18-e24eadf/x86_64-unknown-linux-gnu
What database version are you on?
1
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: