-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
GraphQL/JSON-RPC logs regression between 1.10.21 & 1.10.22 #25583
Comments
createdContract : 163 on both sides |
I suppose it is linked to #25459 |
@s1na FYI this regression seems unique to the GraphQL interface, I'm not seeing the same issue w/
If I had to guess, I'd say the issue is that the |
Hey, thanks for reporting it. The problem was that after my changes graphql was returning all of the block logs for each transaction, blowing up the response. If you get a chance to try the linked PR, the issue should be resolved. @ryanschneider thanks for checking JSON-RPC. After finding the bug I'm confident it only happens for graphql queries that query logs of a transaction. I modified code there so it also utilizes the log cache we added but forgot a check. |
I would build and test it on monday morning. Thanks for the fix |
@s1na fix tested on my personal node, works perfectly, thanks |
@s1na I'm still seeing the regression on my end (build on d30e39b). I ran the following graphql
no logs returns for |
I confirm that with that very same version d30e39b , logs is sometimes empty, sometimes not |
geth 1.10.21 : geth 1.11.0 d30e39b : |
System information
Geth
Version: 1.10.22-stable
Git Commit: 2de49b0
Architecture: amd64
Go Version: go1.18.5
Operating System: linux
GOPATH=
GOROOT=go
Archive node
Expected behaviour
Doing a complex GraphQL query returns correct data from a block, like in 1.10.21
Actual behaviour
Too much data (logs unrelated to current block)
Steps to reproduce the behaviour
Going to GraphQL UI : http://xxxxx:8545/graphql/ui
Type the following query :
More details
That block on etherscan : https://etherscan.io/block/15401505
On a 1.10.22 node, this query returns 257386 lines, which is a bit too much (could depend on when you run the request)
On a 1.10.21 node, this query returns 2209 lines, which seems more in the norm
The text was updated successfully, but these errors were encountered: