-
Notifications
You must be signed in to change notification settings - Fork 284
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
Check network on start and reset db #8642
Conversation
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
@rolfyone please review when you have the time. Thanks! |
storage/src/main/java/tech/pegasys/teku/storage/server/network/DatabaseNetwork.java
Outdated
Show resolved
Hide resolved
Signed-off-by: gconnect <agatevureglory@gmail.com>
I'm not sure that's really at the right point currently, because we're leaking that deposit check in multiple places, and theres public functions that can delete folders etc, so i think we really need to think about how it all fits together... this feels very confused... Are you able to have a look at how we might do this neatly? otherwise we can find a little time to get some design thought out so its relatively clean... |
Thanks for reviewing. I will dive deeper and see how I can make the code better. |
Signed-off-by: gconnect <agatevureglory@gmail.com>
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.
We're getting there for sure! Hope the latest comments help!
services/chainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/StorageService.java
Outdated
Show resolved
Hide resolved
services/chainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/StorageService.java
Outdated
Show resolved
Hide resolved
services/chainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/StorageService.java
Outdated
Show resolved
Hide resolved
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
@rolfyone I have added some test please review and let me know what you think. |
Signed-off-by: gconnect <agatevureglory@gmail.com>
services/chainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/StorageService.java
Outdated
Show resolved
Hide resolved
services/chainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/StorageService.java
Show resolved
Hide resolved
...hainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/EphemeryDatabaseReset.java
Show resolved
Hide resolved
…global to local variable Signed-off-by: gconnect <agatevureglory@gmail.com>
Signed-off-by: gconnect <agatevureglory@gmail.com>
...storage/src/test/java/tech/pegasys/teku/services/chainstorage/EphemeryDatabaseResetTest.java
Outdated
Show resolved
Hide resolved
services/chainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/StorageService.java
Show resolved
Hide resolved
Signed-off-by: gconnect <agatevureglory@gmail.com>
...hainstorage/src/main/java/tech/pegasys/teku/services/chainstorage/EphemeryDatabaseReset.java
Outdated
Show resolved
Hide resolved
Signed-off-by: gconnect <agatevureglory@gmail.com>
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.
Thanks for your patience, looks better now. will move towards merging.
PR Description
Fixed Issue(s)
fixes #8589
Documentation
doc-change-required
label to this PR if updates are required.Changelog