-
Notifications
You must be signed in to change notification settings - Fork 1.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
eth/tracers: improve tracing performance (#23016) #326
Conversation
Improves the performance of debug.traceTransaction
core/vm/gen_structlog.go
Outdated
|
||
"github.com/ethereum/go-ethereum/common" | ||
"github.com/ethereum/go-ethereum/common/hexutil" | ||
"github.com/ethereum/go-ethereum/common/math" | ||
"github.com/holiman/uint256" |
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.
fix imports
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.
Done
core/vm/logger.go
Outdated
@@ -29,6 +29,7 @@ import ( | |||
"github.com/ethereum/go-ethereum/common/math" | |||
"github.com/ethereum/go-ethereum/core/types" | |||
"github.com/ethereum/go-ethereum/params" | |||
"github.com/holiman/uint256" |
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.
same here
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.
Done
Improves the performance of debug.traceTransaction
Description
Cherry-pick the commit ethereum/go-ethereum#23016
Preflight checks
make build
)make test
)