Skip to content
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

ibc: Connection Version changed from string to proto definition #7644

Merged
merged 18 commits into from
Oct 28, 2020

Conversation

fedekunze
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Oct 27, 2020

Codecov Report

Merging #7644 into master will decrease coverage by 0.01%.
The diff coverage is 88.52%.

@@            Coverage Diff             @@
##           master    #7644      +/-   ##
==========================================
- Coverage   54.12%   54.10%   -0.02%     
==========================================
  Files         611      611              
  Lines       38601    38571      -30     
==========================================
- Hits        20892    20869      -23     
+ Misses      15576    15574       -2     
+ Partials     2133     2128       -5     

// proposed version is supported by this chain. If the feature set is
// empty it verifies that this is allowed for the specified version
// identifier.
func (version Version) VerifyProposedVersion(proposedVersion exported.Version) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reorganized code

@colin-axner colin-axner marked this pull request as ready for review October 27, 2020 11:09
@colin-axner colin-axner changed the title ibc: Version to proto Any ibc: Connection Version changed from string to proto definition Oct 27, 2020
Copy link
Collaborator Author

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @colin-axner. The only changes I'd suggest are:

  • ProtoToExported -> ProtoVersionToExported
  • ExportedToProto -> ExportedVersionToProto

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@cwgoes cwgoes added the A:automerge Automatically merge PR once all prerequisites pass. label Oct 27, 2020
@fedekunze
Copy link
Collaborator Author

ACK. @colin-axner can you approve?

@mergify mergify bot merged commit 426d195 into master Oct 28, 2020
@mergify mergify bot deleted the fedekunze/ibc-version-any branch October 28, 2020 09:41
clevinson pushed a commit that referenced this pull request Oct 29, 2020
* ibc: Version to proto Any

* change version string to struct

* various version fixes

* fix build

* reorder code

* update spec

* rename to ProtoVersionsToExported and ExportedVersionsToProto

Co-authored-by: Colin Axner <colinaxner@berkeley.edu>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants