-
Notifications
You must be signed in to change notification settings - Fork 608
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
x/tokenfactory: .proto files #1360
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1360 +/- ##
==========================================
- Coverage 19.82% 19.79% -0.04%
==========================================
Files 202 202
Lines 27685 27763 +78
==========================================
+ Hits 5489 5496 +7
- Misses 21175 21246 +71
Partials 1021 1021
Continue to review full report at Codecov.
|
Co-authored-by: Dev Ojha <[email protected]>
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.
Thanks for breaking this up @sunnya97!
// // ===================== MsgForceTransfer | ||
// message MsgForceTransfer { | ||
// string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; | ||
// cosmos.base.v1beta1.Coin amount = 2 [ | ||
// (gogoproto.moretags) = "yaml:\"amount\"", | ||
// (gogoproto.nullable) = false | ||
// ]; | ||
// string transferFromAddress = 3 | ||
// [ (gogoproto.moretags) = "yaml:\"transfer_from_address\"" ]; | ||
// string transferToAddress = 4 | ||
// [ (gogoproto.moretags) = "yaml:\"transfer_to_address\"" ]; | ||
// } | ||
|
||
// message MsgForceTransferResponse {} |
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.
Do we need this commented out?
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.
Wanted to deactivate this message for now, but we will eventually add it back in in the future
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.
Should we track this in an issue?
(gogoproto.moretags) = "yaml:\"authority_metadata\"", | ||
(gogoproto.nullable) = false | ||
]; | ||
} |
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.
nit: newline
} | ||
message QueryDenomsFromCreatorResponse { | ||
repeated string denoms = 1 [ (gogoproto.moretags) = "yaml:\"denoms\"" ]; | ||
} |
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.
nit: missing newline
// // ===================== MsgForceTransfer | ||
// message MsgForceTransfer { | ||
// string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ]; | ||
// cosmos.base.v1beta1.Coin amount = 2 [ | ||
// (gogoproto.moretags) = "yaml:\"amount\"", | ||
// (gogoproto.nullable) = false | ||
// ]; | ||
// string transferFromAddress = 3 | ||
// [ (gogoproto.moretags) = "yaml:\"transfer_from_address\"" ]; | ||
// string transferToAddress = 4 | ||
// [ (gogoproto.moretags) = "yaml:\"transfer_to_address\"" ]; | ||
// } | ||
|
||
// message MsgForceTransferResponse {} |
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.
Should we track this in an issue?
What is the purpose of the change
*Add a description of the overall background and high level changes that this PR introduces *
This PR adds the proto files relevant for the tokenfactory module.
It contains the following Msg types for the module:
It contains the following queries:
It contains a commented out Msg type for "force transfers". Force transfers are disabled based on discussion in: #1029
Testing and Verifying
This change is only proto file additions without any test coverage.
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? (yes / no)x/<module>/spec/
) / Osmosis docs repo / not documented)