-
Notifications
You must be signed in to change notification settings - Fork 2.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
Don't fetch internal transactions for simple token transfers #1305
Conversation
A couple cleanup items I noticed:
|
@acravenho fixed those already in the force push right before your comment. |
5ed00ab
to
2811d6c
Compare
These are the results after indexing Goerli on
|
@acravenho 2811d6c contains a fix where one of the returns was inverted due to the realtime logic returning the opposite value from the importer, since one is deciding whether to fetch and one is decide whether to mark them as already fetched. Please test against Goerli again with this version. |
Pull Request Test Coverage Report for Build 19cce54d-5d7d-4a4f-9125-9dc4930ed85d
💛 - Coveralls |
62ce1db
to
a619247
Compare
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.
Looks great!!! 2091 compared to 25,201 prior to the new rules.
Resolves #1303 Don't fetch internal transactions for transactions that have token transfers from the logs if the status is `:ok` and the transaction did not create a contract.
it was disabled in #1305. Note that it's not applicable for parity. Because we fetch internal transactions for it block by block so all internal transactions are fetched.
Resolves #1303
Changelog
Enhancements
:ok
and the transaction did not create a contract.