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

Service msgs simulations #8188

Merged
merged 5 commits into from
Dec 18, 2020
Merged

Service msgs simulations #8188

merged 5 commits into from
Dec 18, 2020

Conversation

aleem1314
Copy link
Contributor

closes: #XXXX


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

@codecov
Copy link

codecov bot commented Dec 17, 2020

Codecov Report

Merging #8188 (98ceb21) into aleem/msg_auth (9b58041) will increase coverage by 0.08%.
The diff coverage is 79.18%.

Impacted file tree graph

@@                Coverage Diff                 @@
##           aleem/msg_auth    #8188      +/-   ##
==================================================
+ Coverage           61.77%   61.86%   +0.08%     
==================================================
  Files                 625      626       +1     
  Lines               35743    35926     +183     
==================================================
+ Hits                22081    22225     +144     
- Misses              11338    11361      +23     
- Partials             2324     2340      +16     
Impacted Files Coverage Δ
types/simulation/types.go 0.00% <0.00%> (ø)
x/authz/simulation/decoder.go 100.00% <ø> (ø)
x/authz/types/msgs.go 56.00% <ø> (ø)
x/slashing/simulation/operations.go 61.53% <20.00%> (ø)
x/authz/simulation/operations.go 81.00% <81.00%> (ø)
x/authz/simulation/genesis.go 81.81% <81.81%> (ø)
x/authz/client/cli/tx.go 78.26% <100.00%> (ø)
x/bank/simulation/operations.go 80.64% <100.00%> (ø)
x/distribution/simulation/operations.go 82.24% <100.00%> (ø)
x/gov/simulation/operations.go 77.98% <100.00%> (ø)
... and 3 more

}
bz := cdc.MustMarshalJSON(srvMsg.Request)

return NewOperationMsgBasic(msg.Route(), msg.Type(), comment, ok, bz)
Copy link
Member

Choose a reason for hiding this comment

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

So we shouldn't worry about Route and Msg here I think. Instead we should use the MethodName.

@aleem1314 aleem1314 marked this pull request as ready for review December 18, 2020 08:41
Copy link
Collaborator

@anilcse anilcse left a comment

Choose a reason for hiding this comment

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

lgtm, @aleem1314 let's merge this to your branch and address if any comments in the original PR

simapp/helpers/service_msg_client.go Show resolved Hide resolved
@aleem1314 aleem1314 merged commit 00a64d4 into aleem/msg_auth Dec 18, 2020
@aleem1314 aleem1314 deleted the aleem/x-service-msg-sims branch December 18, 2020 09:56
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.

3 participants