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-SDK Integration #5057

Merged
merged 38 commits into from
Oct 1, 2019
Merged

Conversation

mossid
Copy link
Contributor

@mossid mossid commented Sep 17, 2019

NOTE: Moved to #5124

(@fedekunze: Sorry I deleted the changes by mistake when I pulled on the downstream PR )

This will be the final version of sdk integration pr, I hope.

  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md

  • Re-reviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

x/ibc/04-channel/msgs.go Outdated Show resolved Hide resolved
x/ibc/04-channel/types.go Outdated Show resolved Hide resolved
x/ibc/mock/handler.go Outdated Show resolved Hide resolved
x/ibc/mock/handler.go Outdated Show resolved Hide resolved
x/ibc/04-channel/manager.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 17, 2019

Codecov Report

Merging #5057 into joon/ics-04-implementation will increase coverage by 0.11%.
The diff coverage is 83.13%.

@@                      Coverage Diff                       @@
##           joon/ics-04-implementation    #5057      +/-   ##
==============================================================
+ Coverage                       55.98%   56.09%   +0.11%     
==============================================================
  Files                             307      308       +1     
  Lines                           18576    18585       +9     
==============================================================
+ Hits                            10399    10425      +26     
+ Misses                           7456     7433      -23     
- Partials                          721      727       +6

x/ibc/03-connection/client/cli/tx.go Outdated Show resolved Hide resolved
x/ibc/03-connection/client/cli/tx.go Outdated Show resolved Hide resolved
x/ibc/03-connection/client/cli/tx.go Outdated Show resolved Hide resolved
x/ibc/03-connection/client/cli/tx.go Outdated Show resolved Hide resolved
x/ibc/03-connection/client/cli/tx.go Outdated Show resolved Hide resolved
x/ibc/03-connection/client/cli/tx.go Outdated Show resolved Hide resolved
}
_, pstate, err := obj1.StateCLI(ctx1)

err = utils.GenerateOrBroadcastMsgs(ctx2, txBldr, []sdk.Msg{msgupdate})
Copy link
Contributor

Choose a reason for hiding this comment

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

ineffectual assignment to err (from ineffassign)

}
_, pstate, err = obj2.State(ctx2)

err = utils.GenerateOrBroadcastMsgs(ctx1, txBldr, []sdk.Msg{msgupdate})
Copy link
Contributor

Choose a reason for hiding this comment

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

ineffectual assignment to err (from ineffassign)

Signer: ctx2.GetFromAddress(),
}

err = utils.GenerateOrBroadcastMsgs(ctx2, txBldr, []sdk.Msg{msgupdate})
Copy link
Contributor

Choose a reason for hiding this comment

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

ineffectual assignment to err (from ineffassign)

}

err = utils.GenerateOrBroadcastMsgs(ctx1, txBldr, []sdk.Msg{msginit})
if err != nil {
return err
}

timeout := nextTimeout
height, err = lastheight(ctx1)
// Another block has to be passed after msginit is commited
Copy link
Contributor

Choose a reason for hiding this comment

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

commited is a misspelling of committed (from misspell)

}

err = utils.GenerateOrBroadcastMsgs(ctx2, txBldr, []sdk.Msg{msgtry})
if err != nil {
return err
}

timeout = nextTimeout
height, err = lastheight(ctx2)
// Another block has to be passed after msginit is commited
Copy link
Contributor

Choose a reason for hiding this comment

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

commited is a misspelling of committed (from misspell)

}

err = utils.GenerateOrBroadcastMsgs(ctx1, txBldr, []sdk.Msg{msgack})
if err != nil {
return err
}

timeout = nextTimeout
_, pstate, err = obj1.State(ctx1)
// Another block has to be passed after msginit is commited
Copy link
Contributor

Choose a reason for hiding this comment

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

commited is a misspelling of committed (from misspell)

x/ibc/03-connection/cli.go Outdated Show resolved Hide resolved
x/ibc/04-channel/port.go Show resolved Hide resolved
x/ibc/04-channel/cli.go Outdated Show resolved Hide resolved
x/ibc/04-channel/tests/types.go Outdated Show resolved Hide resolved
@fedekunze fedekunze mentioned this pull request Oct 1, 2019
5 tasks
@mossid
Copy link
Contributor Author

mossid commented Oct 1, 2019

There was a naming cleanup in this PR which is not reflected in the previous PRs.

  • Object -> State
  • State -> Stage

@fedekunze fedekunze merged commit fea2ba6 into joon/ics-04-implementation Oct 1, 2019
fedekunze added a commit that referenced this pull request Oct 1, 2019
@fedekunze fedekunze mentioned this pull request Oct 1, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants