-
Notifications
You must be signed in to change notification settings - Fork 881
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
Add db reset for Ephemery network on restart #8213
base: main
Are you sure you want to change the base?
Add db reset for Ephemery network on restart #8213
Conversation
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.
@gconnect can you figure out a way to test this locally, NETWORK is not what you think it is
+ ".\n" | ||
+ "Please specify a different data directory with --data-path, specify the original genesis file with " | ||
+ "--genesis-file or supply a testnet/mainnet option with --network."); | ||
if (NETWORK.getName().equals("Ephemery")) { |
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.
this NETWORK is a metrics category not the network name you're looking for
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.
also I'd use equalsIgnoreCase to allow variances
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.
@gconnect can you figure out a way to test this locally, NETWORK is not what you think it is
Alright I will figure it out. Thanks for checking. |
PR description
Fixed Issue(s)
fixes #8180
Thanks for sending a pull request! Have you done the following?
doc-change-required
label to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew spotlessApply
./gradlew build
./gradlew acceptanceTest
./gradlew integrationTest
./gradlew ethereum:referenceTests:referenceTests