8000 fix(template): missing call to RegisterMsgServer by tbruyelle · Pull Request #2636 · ignite/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(template): missing call to RegisterMsgServer #2636

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

Merged
merged 3 commits into from
Jul 25, 2022

Conversation

tbruyelle
Copy link
Contributor

Fix #1960

From the cosmos-docs [1], this method RegisterMsgServer should be
called inside the module RegisterServices. The fact that we manage to
run a chain w/o that call is still a mistery for me.

[1] https://docs.cosmos.network/main/building-modules/messages-and-queries.html#msg-services

Fix #1960

From the cosmos-docs [1], this method `RegisterMsgServer` should be
called inside the module `RegisterServices`. The fact that we manage to
run a chain w/o that call is still a mistery for now.

[1] https://docs.cosmos.network/main/building-modules/messages-and-queries.html#msg-services
@tbruyelle tbruyelle added do-not-merge type:error Something isn't working labels Jul 19, 2022
@tbruyelle tbruyelle changed the title fix(templates): missing call to RegisterMsgServer fix(template): missing call to RegisterMsgServer Jul 19, 2022
@ilgooz ilgooz requested a review from aljo242 July 21, 2022 12:45
@lumtis
Copy link
Contributor
lumtis commented Jul 21, 2022

The fact that we manage to
run a chain w/o that call is still a mistery for me.

Because sending a tx that triggers a state transition is done by sending a request to the auth/tx endpoint that dispatch the message with the module handler
MsgServer for tx is only used for test purpose.

It may change with 0.46 since IFAIK module handler is removed

@lumtis
Copy link
Contributor
lumtis commented Jul 21, 2022

@tbruyelle why do-not-merge tag?

@tbruyelle
Copy link
Contributor Author
tbruyelle commented Jul 21, 2022

@tbruyelle why do-not-merge tag?

During our last weekly meeting, I understood that @ilgooz wants to freeze the merges until the v0.22.3 release. Maybe this one can be merged though.

@tbruyelle tbruyelle merged commit 27ffd9a into develop Jul 25, 2022
@tbruyelle tbruyelle deleted the fix/missing-register-service branch July 25, 2022 09:01
@fadeev fadeev mentioned this pull request Aug 4, 2022
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
Fix ignite#1960

From the cosmos-docs [1], this method `RegisterMsgServer` should be
called inside the module `RegisterServices`. The fact that we manage to
run a chain w/o that call is still a mistery for now.

[1] https://docs.cosmos.network/main/building-modules/messages-and-queries.html#msg-services

Co-authored-by: Lucas Btd <lucas.bertrand.22@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:error Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible missing call to RegisterMsgServer in RegisterServices function
3 participants
0