-
Notifications
You must be signed in to change notification settings - Fork 264
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
feat: make LazyLoadVersion
validate InitialVersion
the same as LoadVersion
#638
Conversation
This pull request introduces 2 alerts when merging 8c7a745 into 12381ab - view on LGTM.com new alerts:
Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. It looks like GitHub code scanning with CodeQL is already set up for this repo, so no further action is needed 🚀. For more information, please check out our post on the GitHub blog. |
8c7a745
to
0ecad83
Compare
0eaf8ec
to
e6dab90
Compare
@alexanderbez @tac0turtle Hi, may I know what's your optional on this change? |
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.
could we get a test case on this feature, seems like some behaviour changed but the tests didnt
unit test added, and I checked it fails on master branch for this error: "An error is expected but got nil." |
6203279
to
8a82234
Compare
LazyLoadVersion
validate InitialVersion
the same as LoadVersion
@yihuang backport? |
yes, please. |
it seems we forgot to backport this one? @tac0turtle |
no problem, didnt cut final release |
@Mergifyio backport release/v0.19.x |
ill fix the bot, not sure what's up |
✅ Backports have been created
|
@Mergifyio backport release/v0.20.x |
✅ Backports have been created
|
…oadVersion` (backport #638) (#669) Co-authored-by: yihuang <[email protected]> Co-authored-by: Marko <[email protected]>
…oadVersion` (backport #638) (#666) Co-authored-by: yihuang <[email protected]> Co-authored-by: Marko <[email protected]>
…oadVersion` (backport cosmos#638) (cosmos#666) Co-authored-by: yihuang <[email protected]> Co-authored-by: Marko <[email protected]>
Improve startup time of archive nodes.
LazyLoadVersionForOverwriting
Closes: #637
Need to enable the lazy mode at cosmos-sdk: cosmos/cosmos-sdk#14189
Unit tests passed, running alright on our production nodes, not sure of other side effects.