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

[Merged by Bors] - Recover from NonConsecutive eth1 errors #3273

Closed

Conversation

pawanjay176
Copy link
Member

Issue Addressed

Fixes #1864 and a bunch of other closed but unresolved issues.

Proposed Changes

Allows the deposit caching to recover from NonConsecutive deposit errors by resetting the last processed block to the last valid deposit's block number. Still not sure of the underlying cause of this error, but this should recover the cache so we don't need --eth1-purge-cache anymore 🎉

A huge thanks to @one-three-three-seven for reproducing the error and providing the data that helped testing out the fix 🙌

Still needs a few more tests.

@michaelsproul michaelsproul added the ready-for-review The code is ready for review label Jun 20, 2022
@paulhauner paulhauner self-requested a review June 23, 2022 07:53
Copy link
Member

@paulhauner paulhauner left a comment

Choose a reason for hiding this comment

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

Nice fix! I'm super this will make a whole lot of lives easier in the future!

@paulhauner paulhauner added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Jun 24, 2022
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

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

bors r+

bors bot pushed a commit that referenced this pull request Jun 26, 2022
## Issue Addressed

Fixes #1864 and a bunch of other closed but unresolved issues.

## Proposed Changes

Allows the deposit caching to recover from `NonConsecutive` deposit errors by resetting the last processed block to the last valid deposit's block number. Still not sure of the underlying cause of this error, but this should recover the cache so we don't need `--eth1-purge-cache` anymore 🎉 

A huge thanks to @one-three-three-seven for reproducing the error and providing the data that helped testing out the fix 🙌 

Still needs a few more tests.
@bors bors bot changed the title Recover from NonConsecutive eth1 errors [Merged by Bors] - Recover from NonConsecutive eth1 errors Jun 27, 2022
@bors bors bot closed this Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge This PR is ready to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants