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

chore: rename RegisterAccount rpc and msgs to RegisterInterchainAccount #2253

Merged
merged 6 commits into from
Sep 9, 2022

Conversation

damiannolan
Copy link
Contributor

@damiannolan damiannolan commented Sep 9, 2022

Description

  • Rename RegisterAccount rpc to RegisterInterchainAccount
  • Rename MsgRegisterAccount to MsgRegisterInterchainAccount
  • Rename MsgRegisterAccountResponse to MsgRegisterInterchainAccountResponse
  • Reorder fields: owner comes before connection_id

closes: #2230
closes: #2233


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • 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.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

Copy link
Contributor

@crodriguezvega crodriguezvega left a comment

Choose a reason for hiding this comment

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

Clean renaming!

Copy link
Contributor

@chatton chatton left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

Codecov Report

Merging #2253 (0ceeaff) into main (fcdb0fc) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2253   +/-   ##
=======================================
  Coverage   79.51%   79.51%           
=======================================
  Files         175      175           
  Lines       12075    12075           
=======================================
  Hits         9601     9601           
  Misses       2049     2049           
  Partials      425      425           
Impacted Files Coverage Δ
...nterchain-accounts/controller/keeper/msg_server.go 91.66% <100.00%> (ø)
...s/27-interchain-accounts/controller/types/codec.go 100.00% <100.00%> (ø)
...ps/27-interchain-accounts/controller/types/msgs.go 92.30% <100.00%> (ø)

@damiannolan damiannolan merged commit f8f226d into main Sep 9, 2022
@damiannolan damiannolan deleted the damian/2230-modify-register-account-naming branch September 9, 2022 13:37
mergify bot pushed a commit that referenced this pull request Sep 9, 2022
…count` (#2253)

* adding msgServer struct to ics27 controller

* updating the RegisterAccount rpc and msgs to RegisterInterchainAccount, reodering fields

(cherry picked from commit f8f226d)

# Conflicts:
#	modules/apps/27-interchain-accounts/controller/client/cli/cli.go
#	modules/apps/27-interchain-accounts/controller/client/cli/tx.go
#	modules/apps/27-interchain-accounts/controller/keeper/msg_server.go
#	modules/apps/27-interchain-accounts/controller/keeper/msg_server_test.go
crodriguezvega added a commit that referenced this pull request Sep 13, 2022
…count` (backport #2253) (#2261)

* chore: rename `RegisterAccount` rpc and msgs to `RegisterInterchainAccount` (#2253)

* adding msgServer struct to ics27 controller

* updating the RegisterAccount rpc and msgs to RegisterInterchainAccount, reodering fields

(cherry picked from commit f8f226d)

# Conflicts:
#	modules/apps/27-interchain-accounts/controller/client/cli/cli.go
#	modules/apps/27-interchain-accounts/controller/client/cli/tx.go
#	modules/apps/27-interchain-accounts/controller/keeper/msg_server.go
#	modules/apps/27-interchain-accounts/controller/keeper/msg_server_test.go

* Update tx.go

* fix conflict

* fix conflict

* fix import

Co-authored-by: Damian Nolan <[email protected]>
Co-authored-by: Carlos Rodriguez <[email protected]>
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.

Modify MsgRegisterAccount fields Change MsgRegisterAccount to MsgRegsiterInterchainAccount
4 participants