-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
module: pass route by value #6404
module: pass route by value #6404
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6404 +/- ##
==========================================
+ Coverage 55.54% 55.55% +0.01%
==========================================
Files 465 465
Lines 27524 27526 +2
==========================================
+ Hits 15289 15293 +4
+ Misses 11136 11134 -2
Partials 1099 1099 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK. One suggestion
…ub.com:cosmos/cosmos-sdk into jonathan/module-route-not-pointer-but-instance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jgimeno please run make mocks
Description
related: #6232
related: #6231
After having a chat with @alessio we came to the conclusion that is better to return an instance than a pointer for security reasons.
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.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorer