-
Notifications
You must be signed in to change notification settings - Fork 264
Print warning message when we find any disabled network upgrade #3038
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
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files |
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.
in general, the PR lgtm, but some tests are failing
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.
Good job!
I have a few comments and suggestions, let me know your opinion.
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.
Thank you for have replied and addressed so quickly!
🙏
48146a2
to
055bc87
Compare
|
Description
We are printing a warning message when running the node so we know which NetworkUpgrade are disabled at the point of the node running.
Motivation and Context
We had an issue where the node of a client was creating a hard fork due to client not having the latest network upgrade
LOVELL700
enabled / added to their config.We spent a lot of time trying to investigate the issue and we found out it was a configuration issue. If have noticed the configuration issue before we wouldn't spend a lot of time debugging the problem.
How Has This Been Tested?
We just ran a node from scratch. At the beginning since the block is at height of 0, all the existing network upgrades will be shown, even if they are added to the rsk config, because they will not be active due to the best block height.
Finally, the same node was restarted, so we were able to see how the number of network upgrades printed as disabled were decrease as the best block height was increasing.
Types of changes
Checklist: