Skip to content

Conversation

@yperbasis
Copy link
Member

yperbasis and others added 2 commits November 29, 2023 13:27
This includes a semantic change to the `callTracer` as well as `flatCallTracer`.
The value of field `gas` in the **first** call frame will change as follows:

- It previously contained gas available after initial deductions (i.e. tx costs)
- It will now contain the full tx gasLimit value

Signed-off-by: jsvisa <[email protected]>
@yperbasis yperbasis linked an issue Nov 29, 2023 that may be closed by this pull request
@yperbasis yperbasis marked this pull request as ready for review November 29, 2023 12:36
@yperbasis yperbasis changed the title eth/tracers: traces[0].gas should use tx.gasLimit debug_trace*: traces[0].gas should use tx.gasLimit Nov 29, 2023
@yperbasis yperbasis changed the title debug_trace*: traces[0].gas should use tx.gasLimit debug_trace*: root gas should use tx.gasLimit Nov 29, 2023
@yperbasis yperbasis merged commit 1ae1301 into devel Dec 1, 2023
@yperbasis yperbasis deleted the issue7831 branch December 1, 2023 09:04
blxdyx pushed a commit to blxdyx/bsc-erigon that referenced this pull request Jan 3, 2024
blxdyx pushed a commit to blxdyx/bsc-erigon that referenced this pull request Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gas Value is wrong in debug_trace* method for blocks in archive

4 participants