-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat!: allow to set initial members during user group creation #974
feat!: allow to set initial members during user group creation #974
Conversation
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
Signed-off-by: Riccardo Montagnin <riccardo.montagnin@gmail.com>
@@ -377,7 +377,7 @@ GOGO_PROTO_TYPES = third_party/proto/gogoproto | |||
COSMOS_TYPES = third_party/proto/cosmos | |||
COSMOS_PROTO_TYPES = third_party/proto/cosmos_proto | |||
CONFIO_TYPES = third_party/proto/confio | |||
EVMOS_TYPES = third_party/proto/evmos | |||
ETHERMINT_TYPES = third_party/proto/ethermint |
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.
All the changes in this file are to fix Protobuf lint errors
@@ -11,7 +11,7 @@ slug: messages | |||
A post can be created using the `MsgCreatePost`. | |||
|
|||
```js reference | |||
https://github.com/desmos-labs/desmos/blob/v4.1.0/proto/desmos/posts/v2/msgs.proto#L36-L89 | |||
https://github.com/desmos-labs/desmos/blob/master/proto/desmos/posts/v2/msgs.proto#L36-L89 |
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've updated all the specs to refer to the master
branch instead of the v4.1.0
tag, since there might have been some changes inside that branch since the last release (like in this case). It's also always better to reference the master
branch instead of a version, since these specs will leave inside the master
branch itself. We can always change the referenced blob when we publish the docs anyway
@@ -97,7 +97,7 @@ It's is expected to fail if: | |||
A user group can be created using the `MsgCreateUserGroup`. | |||
|
|||
```js reference | |||
https://github.com/desmos-labs/desmos/blob/v4.1.0/proto/desmos/subspaces/v2/msgs.proto#L235-L261 | |||
https://github.com/desmos-labs/desmos/blob/master/proto/desmos/subspaces/v3/msgs.proto#L235-L265 |
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.
The line changes here are to reflect the additional of the new parameter
Codecov Report
@@ Coverage Diff @@
## master #974 +/- ##
==========================================
+ Coverage 80.49% 80.51% +0.02%
==========================================
Files 172 172
Lines 15223 15243 +20
==========================================
+ Hits 12253 12273 +20
Misses 2442 2442
Partials 528 528
Continue to review full report at Codecov.
|
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.
LGTM
Description
This PR adds the
initial_members
field toMsgCreateUserGroup
to allow users to specify the initial set of users that should be included into the group when creating it. This is particularly useful to clients to reduce the number of transactions to be done when creating a user group.Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change