-
Notifications
You must be signed in to change notification settings - Fork 103
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
refactor(x/ecocredit): update core proto comments and fields #1161
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1161 +/- ##
=========================================
Coverage ? 69.62%
=========================================
Files ? 221
Lines ? 23075
Branches ? 0
=========================================
Hits ? 16065
Misses ? 5623
Partials ? 1387
Flags with carried forward coverage won't be shown. Click here to find out more. |
Pending #1160 |
Some overlap with #1160 but ready for review. |
// basket_fee is a list of basket creation fees accepted when creating a | ||
// basket. Any fee listed is accepted and charged to the basket creator when | ||
// creating a basket. |
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.
This is not the current behavior but should be. See #1165.
// The country-code must be 2 alphabetic characters, the sub-national-code | ||
// can be 1-3 alphanumeric characters, and the postal-code can be up to 64 | ||
// alphanumeric characters. Only the country-code is required, while the | ||
// sub-national-code and postal-code are optional and can be added for | ||
// increased precision. |
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.
Removed mention of needing to conform to ISO 3166-2 here and elsewhere given the current implementation does not require this and we want to avoid being political and requiring a protocol update to update accepted countries.
Description
Ref: #715
This pull request updates proto comments, updates
Issuer
toAdmin
inMsgCreateProject
(the address that will become the admin of the project, same asMsgCreateClass
and other messages, i.e. we don't useCreator
forMsgCreateClass
), movesBatchIssuance
to types, moves and makes use ofCredits
, and updatesMsgUpdateCreditClassMetada
to useNewMetadata
rather thanMetadata
(same as other update methods and when updating a project).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