-
Notifications
You must be signed in to change notification settings - Fork 20.6k
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
core,eth: implement tx-level hooks for tracers #24510
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
5138feb
core,eth: add empty tx logger hooks
s1na cd7d184
core,eth: add initial and remaining gas to tx hooks
s1na 45e6a7b
store tx gasLimit in js tracer
s1na d7fc0aa
use gasLimit to compute intrinsic cost for js tracer
s1na 48937ff
re-use rules in transitiondb
s1na cbb23c8
rm logs
s1na a76d5ac
rm logs
s1na 6cfef9f
Mv some fields from Start to TxStart
s1na 02b4741
simplify sender lookup in prestate tracer
s1na d3ae492
mv env to TxStart
s1na 34303bf
Revert "mv env to TxStart"
s1na 47913aa
Revert "simplify sender lookup in prestate tracer"
s1na 507f6b4
Revert "Mv some fields from Start to TxStart"
s1na a59d257
fix intrinsic gas for prestate tracer
s1na 3f09581
add comments
s1na b7d6ba0
refactor
s1na a167f7e
fix test case
s1na 5bffbc0
simplify consumedGas calc in prestate tracer
s1na File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix intrinsic gas for prestate tracer
- Loading branch information
commit a59d257fac98efe80e069de4b52a918ca5bd5ec0
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The consumedGas is always equivalent to
t.gasLimit
right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I was doing
gasLimit - gas + gas
haha