-
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
feat(x/ecocredit): migrate basket params to orm #1349
Conversation
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.
Looks good. I opened #1359 to further discuss an alternative approach. Essentially this would be the same approach to adding and removing allowed denoms. In a way, these are allowed fees for basket creation but I don't think we need to rename the parameter to include "allowed". We can use this for now and further discuss if we want to consider more granular updates.
Protolint has a rule that requires repeated fields to be plural. I think this is something we want to follow. Protolint is passing because we currently ignore this rule for the files changed given we don't want to introduce breaking changes to the current version but we could make those changes for new messages. I only suggested comments for pluralizing the list of fees in the proto but I think we should make those changes and make sure those changes are reflected throughout.
x/ecocredit/server/basket/features/msg_update_basket_fee.feature
Outdated
Show resolved
Hide resolved
x/ecocredit/server/basket/features/msg_update_basket_fee.feature
Outdated
Show resolved
Hide resolved
The use of the singleton table mentioned in #962 (comment) was if we wanted to only have one fee rather than a list of fees. This is something I was previously advocating for and we have been going back and forth on but I realized later that this might be why you chose to use a singleton table in this pull request but for the list of fees. Also for reference: #1165. |
I still think this approach is ok for now given as I never really got an answer from others on only supporting one fee, so maybe best not to change it. If we do want to change to only one fee option or no fee, then we can address as part of #1359. I'll add an option to support a single fee to the proposal. |
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
…gen-network/regen-ledger into aleem/basket-params-migration
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! nice work
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.
tACK with some nits.
x/ecocredit/server/basket/features/msg_update_basket_fee.feature
Outdated
Show resolved
Hide resolved
x/ecocredit/server/basket/features/msg_update_basket_fee.feature
Outdated
Show resolved
Hide resolved
x/ecocredit/server/basket/features/msg_update_basket_fee.feature
Outdated
Show resolved
Hide resolved
Also opened #1363 |
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Description
Ref: #729
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