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

Cleanup remains of ServiceMsg #9236

Merged
merged 14 commits into from
May 7, 2021
Merged

Cleanup remains of ServiceMsg #9236

merged 14 commits into from
May 7, 2021

Conversation

amaury1093
Copy link
Contributor

Description

This PR is a follow-up from #9139, as not to overload that PR, with lower-priority cleanups related to the removal of ServiceMsg TypeURLs.

ref: #9139 (comment)


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

@github-actions github-actions bot added C:x/evidence C:x/genutil genutil module issues labels Apr 30, 2021
@amaury1093 amaury1093 mentioned this pull request Apr 30, 2021
9 tasks
@amaury1093 amaury1093 marked this pull request as ready for review April 30, 2021 12:41
@codecov
Copy link

codecov bot commented Apr 30, 2021

Codecov Report

Merging #9236 (5ca01f0) into master (3582cce) will increase coverage by 0.08%.
The diff coverage is 48.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9236      +/-   ##
==========================================
+ Coverage   60.20%   60.28%   +0.08%     
==========================================
  Files         591      591              
  Lines       37017    36937      -80     
==========================================
- Hits        22285    22269      -16     
+ Misses      12758    12698      -60     
+ Partials     1974     1970       -4     
Impacted Files Coverage Δ
client/tx/tx.go 29.35% <0.00%> (-0.28%) ⬇️
x/distribution/client/cli/tx.go 3.88% <0.00%> (+0.29%) ⬆️
x/gov/client/cli/tx.go 17.85% <0.00%> (+1.72%) ⬆️
x/params/client/cli/tx.go 0.00% <0.00%> (ø)
x/staking/client/cli/tx.go 17.98% <0.00%> (+1.31%) ⬆️
x/auth/legacy/legacytx/stdsign.go 80.59% <50.00%> (-2.22%) ⬇️
x/authz/simulation/operations.go 81.92% <100.00%> (+1.81%) ⬆️
x/feegrant/simulation/operations.go 78.84% <100.00%> (+1.65%) ⬆️
x/genutil/client/testutil/suite.go 100.00% <100.00%> (ø)
x/evidence/types/msgs.go 34.37% <0.00%> (-6.25%) ⬇️

@amaury1093 amaury1093 marked this pull request as draft April 30, 2021 12:43
@github-actions github-actions bot added the T:Docs Changes and features related to documentation. label Apr 30, 2021
// response_fullname is the protobuf fullname of the given sdk.ServiceMsg response
string response_fullname = 4;
// msg_type_url contains the TypeURL of a sdk.Msg.
string msg_type_url = 1;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fdymylja Does this simplification make sense to you?

Copy link
Contributor

Choose a reason for hiding this comment

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

@AmauryM perfect!

@amaury1093
Copy link
Contributor Author

R4R!

@aaronc
Copy link
Member

aaronc commented May 3, 2021

Can you fix the conflicts @AmauryM ?

@technicallyty technicallyty self-requested a review May 6, 2021 17:33
Copy link
Contributor

@technicallyty technicallyty left a comment

Choose a reason for hiding this comment

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

LGTM - there is still some mention of ServiceMsg in some of the documentation, it's only a few places, maybe it can be changed in this PR?

I found mention of it in:

  • x/authz/exported - authorization.go (comment on Accept method)
  • x/authz/spec - 01_concepts
  • x/authz/spec - 02_state

@blushi
Copy link
Contributor

blushi commented May 7, 2021

LGTM - there is still some mention of ServiceMsg in some of the documentation, it's only a few places, maybe it can be changed in this PR?

I found mention of it in:

  • x/authz/exported - authorization.go (comment on Accept method)
  • x/authz/spec - 01_concepts
  • x/authz/spec - 02_state

there's a separate issue for this #9208

Copy link
Contributor

@blushi blushi left a comment

Choose a reason for hiding this comment

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

LGTM, could you fix the conflicts?

@amaury1093 amaury1093 added the A:automerge Automatically merge PR once all prerequisites pass. label May 7, 2021
@mergify mergify bot merged commit 56ab4e4 into master May 7, 2021
@mergify mergify bot deleted the am/svc-msg-cleanup branch May 7, 2021 09:31
cmwaters pushed a commit to celestiaorg/celestia-app that referenced this pull request Jan 2, 2024
The `ValidateBasic` function has been called in the
`GenerateOrBroadcastTxWithFactory` function, so we no longer need to add
the `ValidateBasic` function when writing Cli. Related PRs can be viewed
at: cosmos/cosmos-sdk#9236 (comment)
0xchainlover pushed a commit to celestia-org/celestia-app that referenced this pull request Aug 1, 2024
The `ValidateBasic` function has been called in the
`GenerateOrBroadcastTxWithFactory` function, so we no longer need to add
the `ValidateBasic` function when writing Cli. Related PRs can be viewed
at: cosmos/cosmos-sdk#9236 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants