-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
x/upgrade: added consensus version tracking (part of ADR-041) #8743
Merged
mergify
merged 42 commits into
cosmos:master
from
technicallyty:ty-8514-module_tracking
Mar 19, 2021
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
e900fb1
-added consensus version tracking to x/upgrade
technicallyty 036db4f
-added interface to module manager -added e2e test for migrations usi…
technicallyty b640766
Merge branch 'master' into ty-8514-module_tracking
technicallyty 8c7b105
Merge branch 'master' into ty-8514-module_tracking
technicallyty 5c1ae59
Changed MigrationMap identifier to VersionMap
technicallyty 4c48f35
updated docs
technicallyty 6db21e3
forgot this
technicallyty c9b435a
added line to changelog for this PR
technicallyty 1c5b132
Change set consensus version function to match adr 041 spec
technicallyty 304abfa
add documentation
technicallyty d06bbbd
Merge branch 'master' into ty-8514-module_tracking
technicallyty 5c75ead
Merge branch 'ty-8514-module_tracking' of https://github.com/technica…
technicallyty e53423e
remove newline from changelog
technicallyty c36086f
updated example in simapp for RunMigrations, SetCurrentConsensusVersi…
technicallyty 758c67d
switch TestMigrations to use Require instead of t.Fatal
technicallyty 0dac9c2
Update CHANGELOG.md
technicallyty 8f526ef
docs for SetVersionManager
technicallyty 027740d
-init genesis method added -removed panics/fails from setting consens…
technicallyty 18eaed2
merge master
technicallyty fc38e5a
update identifiers to be more go-like
technicallyty 28d5c04
Merge branch 'master' into ty-8514-module_tracking
technicallyty 1fca959
update docs and UpgradeHandler fnc sig
technicallyty d912f4f
Merge branch 'master' into ty-8514-module_tracking
technicallyty a99c538
Upgrade Keeper now takes a VersionMap instead of a VersionManager int…
technicallyty e6424ce
upgrade keeper transition to Version Map
technicallyty 9b40fe7
Merge branch 'master' into ty-8514-module_tracking
technicallyty 799b646
cleanup, added versionmap return to RunMigrations
technicallyty 0f9447c
quick fix
technicallyty a157c48
Merge branch 'master' into ty-8514-module_tracking
technicallyty b839a59
Update docs/architecture/adr-041-in-place-store-migrations.md
technicallyty 75f8ae5
remove support for versionmap field on upgrade keeper
technicallyty 22ab55e
cleanup
technicallyty 47ce533
merge adr change
technicallyty 7f5b6aa
rename get/set version map keeper functions
technicallyty 8547426
update adr doc to match name changes
technicallyty 1504a2d
Merge branch 'master' into ty-8514-module_tracking
technicallyty c3072ab
remove redudant line
technicallyty 1f82fff
Merge branch 'ty-8514-module_tracking' of https://github.com/technica…
technicallyty cf1343f
Merge branch 'master' into ty-8514-module_tracking
technicallyty 3f6bea8
Merge branch 'master' into ty-8514-module_tracking
aaronc d987555
Merge branch 'master' into ty-8514-module_tracking
technicallyty 5d6e4ab
Merge branch 'master' into ty-8514-module_tracking
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why do these not happen in InitGenesis? I thought we agreed upon that.
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.
I do that here
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 seemed like correct spot based on the suggestions, did you have somewhere else in mind?
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.
Maybe you're right. I guess I was thinking it could be in InitGenesis but maybe it doesn't matter