-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: Add group module proto definitions and basic types #9631
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9631 +/- ##
==========================================
- Coverage 63.41% 63.39% -0.03%
==========================================
Files 571 572 +1
Lines 37542 37551 +9
==========================================
- Hits 23808 23806 -2
- Misses 11876 11887 +11
Partials 1858 1858
|
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.
How about let's add a separate go.mod?
@@ -0,0 +1,244 @@ | |||
syntax = "proto3"; | |||
|
|||
package cosmos.group.v1beta1; |
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.
Let's not release any more beta protos to production. We can keep this as is for now as long as we make sure to change to v1 after beta QA.
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.
sounds good
We had this discussion with the orm package too and decided during some internal regen call to have it as a separate go module only when we migrate everything else (eg sdk modules) https://www.notion.so/regennetwork/ec16c9e6890f4241990e6575ff9b5cdc?v=bdd8303495c14680a6c92c220ee13458&p=5cb9a2cb6969475ba0317ec6d0fa2aa2 |
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. Love the flatter module layout!
lets keep it under one go.mod for now. I dont think there has been a decision on modules as separate go.mods in the sdk. |
Let's discuss at the next architecture call. My thinking is that separate go.mod's will enable a quicker initial release cycle for new modules like x/group and x/nft. Do you have any objections @marbar3778 ? |
I would like to add a |
// TODO: do we want to support a withdrawn operation? | ||
// A proposal can be deleted before the voting start time by the owner. When this happens the final status | ||
// is Withdrawn. | ||
// STATUS_WITHDRAWN = 4 [(gogoproto.enumvalue_customname) = "Withdrawn"]; |
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.
Is this still an open question? Should we be tracking this with an issue?
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.
good catch @ryanchristo! I have created an issue to track that: #9660
I like the idea of getting it out the door sooner! Lets give it a try |
Description
ref: #7633
Following up on #9089, this PR is the first step towards the migration of x/group into the SDK. It introduces the group module proto definitions (types, tx, query) and other types.
The rest of the code (module, server, client, genesis...) is dependent on various other discussions (#9238, #9182, #9237, #7773) and will be added in follow-up PRs incrementally.
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