-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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!: connect app version with consensus params in end block #16244
Merged
Merged
Changes from 9 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
00cee72
feat!: connect app version with consensus params in end block
cmwaters bfec2f8
add migration and bump to version 3
cmwaters 6dedbc0
fix some of the broken tests
cmwaters e7f45a0
update changelog
cmwaters 3df29df
Merge branch 'main' into cal/app-version
cmwaters b0bdf3b
fix info call
cmwaters f46d3c2
Merge branch 'cal/app-version' of https://github.com/cmwaters/cosmos-…
cmwaters 31c5d9b
Merge branch 'main' into cal/app-version
cmwaters d2f714d
fix imports
cmwaters bd9c4f6
Merge branch 'main' into cal/app-version
cmwaters eb97ef5
incorporate suggestions
cmwaters a7a90ea
add a comment for applying upgrades
cmwaters 0142d23
add nil check
cmwaters 05aa9e2
lint
cmwaters a7f2e8d
Merge branch 'main' into cal/app-version
cmwaters b73d6da
fix test
cmwaters 6acb09f
Merge branch 'cal/app-version' of https://github.com/cmwaters/cosmos-…
cmwaters 41ae153
Merge branch 'main' into cal/app-version
cmwaters a01073e
fix e2e test
cmwaters 470ab70
Merge branch 'cal/app-version' of https://github.com/cmwaters/cosmos-…
cmwaters 01cf826
Merge branch 'main' into cal/app-version
cmwaters 2337db9
use errors instead of panics
cmwaters 209cd3d
Merge branch 'cal/app-version' of https://github.com/cmwaters/cosmos-…
cmwaters af8e556
Merge branch 'main' into cal/app-version
cmwaters a2d9880
Merge branch 'main' into cal/app-version
cmwaters e123895
Merge remote-tracking branch 'upstream/main' into cal/app-version
cmwaters 1991f40
lint
cmwaters 37b73a5
Update baseapp/baseapp.go
tac0turtle f12fb7c
Update baseapp/options.go
tac0turtle 8075b5f
Merge branch 'main' into cal/app-version
tac0turtle dbe58bb
lint-fix, go mod replace
tac0turtle d523bb9
fix upgrade tests
tac0turtle 29f38cb
Merge branch 'main' into cal/app-version
tac0turtle 60f3164
fix lint
tac0turtle 61f3fc0
lint
tac0turtle 0ea7c57
Merge branch 'main' into cal/app-version
tac0turtle 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
package exported | ||
|
||
// ProtocolVersionSetter defines the interface fulfilled by BaseApp | ||
// which allows setting it's appVersion field. | ||
type ProtocolVersionSetter interface { | ||
SetProtocolVersion(uint64) | ||
} | ||
import ( | ||
"github.com/cosmos/cosmos-sdk/baseapp" | ||
) | ||
|
||
// AppVersionModifier defines the interface fulfilled by BaseApp | ||
// which allows getting and setting it's appVersion field. This | ||
// in turn updates the consensus params that are sent to the | ||
// consensus engine in EndBlock | ||
type AppVersionModifier baseapp.AppVersionModifier |
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.
can we get those changelog entries under unreleased?
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.
gentle ping @cmwaters
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.
Sorry, I left this PR. Have tried to update it and move the changelog entries under unreleased