Skip to content
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

Fix eth_getLogs issue (missing logs) #1351

Merged
merged 10 commits into from
Sep 10, 2020

Conversation

matkt
Copy link
Contributor

@matkt matkt commented Aug 31, 2020

Signed-off-by: Karim TAAM [email protected]

PR description

This PR fixes some issues which caused some log to be missing when calling the eth_getLogs method

  • Setting up a cache version in data/caches/CACHE-METADATA.json
  • Add a check integrity of the cache
  • Fix a lock issue

##Tests performed

  • Sync Goerli from scratch (*4) without fix and compare all blocks with Infura
    (reproduce an issue every time)
  • Sync Goerli from scratch (*4) with the fix and compare all blocks with Infura (ok every time)
  • Sync Goerli with an old version of the cache already present (all the cache is reload to avoid some issues)

Changelog

Signed-off-by: Karim TAAM <[email protected]>
Signed-off-by: Karim TAAM <[email protected]>
Signed-off-by: Karim TAAM <[email protected]>
Signed-off-by: Karim TAAM <[email protected]>
update CHANGELOG.md

Signed-off-by: Karim TAAM <[email protected]>
@matkt matkt marked this pull request as ready for review September 7, 2020 12:38
CHANGELOG.md Outdated
@@ -9,12 +9,12 @@

### Bug Fixes

* Fix logs queries missing results against chain head [\#1351](https://github.com/hyperledger/besu/pull/1351)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to a new 1.5.5 section

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@matkt matkt merged commit 65bb27c into hyperledger:master Sep 10, 2020
@matkt matkt deleted the feature/fix-get-logs branch September 29, 2020 11:33
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.

2 participants