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.
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: protocol version tracking #8897
x/upgrade: protocol version tracking #8897
Changes from 14 commits
e900fb1
036db4f
8c7b105
efe2817
32316ef
1a51e9e
0fe4051
a6eae2a
fb696bc
dc8e0d0
128926d
35a424e
16b92fb
d9c29c4
07ab2cc
4039b34
61576a1
cb4c0f4
ec21cf5
21af48c
f6e16a2
ad4fceb
d7af939
6e3da1c
26ac281
e7309fd
008bd20
71a4dfa
31a1f12
d20bfc1
97ab692
4bf3eaa
1df5a51
b61ab5a
b0f7765
31a6a1a
a43f7e6
7760ab1
bebb4fe
b2003dd
d86db6f
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Instead of importing baseapp can we duplicate the
ProtocolManager
interface here following the expected keepers pattern?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 document all of the parameters here? I'd also like this to explicitly allow ProtocolManager to be nil.
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.
It doesn't seem like this has been addressed @technicallyty, although I guess documenting
vs ProtocolVersionSetter
would be sufficient.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.
Does documentation on just the versionSetter suffice @aaronc? I can add comments to all of them, or maybe can do that in a separate PR?
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 would like comments on all of them. It can be a separate PR if you prefer.
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.
added comments for all the fields @aaronc
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.
Awesome that's great. We also do want docs for all arguments to
NewKeeper
. That is what users of the SDK will see in godocs when they're usingNewKeeper
.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.
added doc comments. let me know if the format/content needs to change @aaronc