-
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
Protobuf: x/auth & x/supply #5533
Conversation
x/auth/client/rest/rest.go
Outdated
// AuthCodec interface and must be the same codec that passed to the x/auth | ||
// module. | ||
// | ||
// TODO:/XXX: Using a package-level global isn't ideal and we should consider |
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.
can we open an issue as a proposal about this?
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.
I actually want to tackle it in this PR -- still thinking.
x/auth/vesting/types/types.proto
Outdated
// | ||
// This type should only be used internally for testing purposes. The application's | ||
// concrete Account type should be defined in the application-level codec. | ||
message VestingAccount { |
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.
Maybe name to something like TestVestingAccount
just so it isn't used mistakenly.
Codecov Report
@@ Coverage Diff @@
## master #5533 +/- ##
==========================================
- Coverage 39.54% 39.42% -0.13%
==========================================
Files 326 326
Lines 29302 29014 -288
==========================================
- Hits 11588 11438 -150
+ Misses 16486 16386 -100
+ Partials 1228 1190 -38
|
Protocol Buffer migration in
x/auth
based on #5491. This PR addresses the following:x/auth
to protobufx/supply
to protobufinternal/
sub-pkgsimapp/codec
)AppModuleBasic
andAppModuleGenesis
to now accept a codec for modular serialization of genesis state.Codec
from already migrated modules in favor ofModuleCdc = codec.NewHybridCodec(amino)
.TODO:
x/auth
client logic that relies on a codec.For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)