Skip to content
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 add-credit-type proposal to msg based proposal #1337

Merged
merged 25 commits into from
Aug 11, 2022

Conversation

aleem1314
Copy link
Contributor

Description

Closes: #XXXX


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...

  • included the correct type prefix in the PR title
  • added ! to the type prefix if API or client breaking change
  • targeted the correct branch (see PR Targeting)
  • provided a link to the relevant issue or specification
  • followed the guidelines for building modules
  • included the necessary unit and integration tests
  • added a changelog entry to CHANGELOG.md
  • included comments for documenting Go code
  • updated the relevant documentation or specification
  • reviewed "Files changed" and left comments if necessary
  • confirmed all CI checks have passed

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...

  • confirmed the correct type prefix in the PR title
  • confirmed ! in the type prefix if API or client breaking change
  • confirmed all author checklist items have been addressed
  • reviewed state machine logic
  • reviewed API design and naming
  • reviewed documentation is accurate
  • reviewed tests and test coverage
  • manually tested (if applicable)

@aleem1314 aleem1314 requested a review from ryanchristo August 4, 2022 14:41
Copy link
Member

@ryanchristo ryanchristo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good although I think we should only allow adding one credit type at a time. This would make the implementation a bit simpler. cc @clevinson thoughts?

proto/regen/ecocredit/v1/tx.proto Outdated Show resolved Hide resolved
@aleem1314 aleem1314 marked this pull request as ready for review August 10, 2022 11:12
Copy link
Member

@ryanchristo ryanchristo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. My bad for not generating proto after making formatting fixes in #721. Mostly small nits from me. Nice work taking on writing feature files!

CHANGELOG.md Outdated Show resolved Hide resolved
proto/regen/ecocredit/v1/tx.proto Outdated Show resolved Hide resolved
proto/regen/ecocredit/v1/tx.proto Outdated Show resolved Hide resolved
proto/regen/ecocredit/v1/tx.proto Outdated Show resolved Hide resolved
x/ecocredit/core/features/msg_add_credit_type.feature Outdated Show resolved Hide resolved
x/ecocredit/core/features/msg_add_credit_type.feature Outdated Show resolved Hide resolved
x/ecocredit/core/features/msg_add_credit_type.feature Outdated Show resolved Hide resolved
x/ecocredit/core/features/msg_add_credit_type.feature Outdated Show resolved Hide resolved
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
@aleem1314 aleem1314 requested a review from a team August 11, 2022 05:00
aleem1314 and others added 4 commits August 11, 2022 10:30
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>
@codecov
Copy link

codecov bot commented Aug 11, 2022

Codecov Report

❗ No coverage uploaded for pull request base (master@5a9732a). Click here to learn what that means.
The diff coverage is 75.00%.

❗ Current head 2400513 differs from pull request most recent head 2abbbf1. Consider uploading reports for the commit 2abbbf1 to get more accurate results

@@            Coverage Diff            @@
##             master    #1337   +/-   ##
=========================================
  Coverage          ?   77.11%           
=========================================
  Files             ?      213           
  Lines             ?    15420           
  Branches          ?        0           
=========================================
  Hits              ?    11891           
  Misses            ?     2621           
  Partials          ?      908           
Impacted Files Coverage Δ
app/stable_appconfig.go 93.54% <ø> (ø)
x/ecocredit/server/proposal.go 100.00% <ø> (ø)
x/ecocredit/core/msg_add_credit_type.go 50.00% <50.00%> (ø)
x/ecocredit/server/core/msg_add_credit_type.go 73.33% <73.33%> (ø)
app/app.go 72.99% <100.00%> (ø)
x/ecocredit/core/codec.go 100.00% <100.00%> (ø)
x/ecocredit/module/module.go 58.33% <100.00%> (ø)
x/ecocredit/server/core/keeper.go 100.00% <100.00%> (ø)
x/ecocredit/server/server.go 73.91% <100.00%> (ø)
x/ecocredit/server/tests/utils.go 100.00% <100.00%> (ø)

aleem1314 and others added 2 commits August 11, 2022 11:31
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
Copy link
Member

@ryanchristo ryanchristo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK. Nice work on adding gherkin/gocuke tests.

@ryanchristo ryanchristo changed the title feat(core)!: migrate add-credit-type proposal to msg based proposal feat(x/ecocredit)!: migrate add-credit-type proposal to msg based proposal Aug 11, 2022
Copy link
Contributor

@technicallyty technicallyty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@ryanchristo ryanchristo merged commit 4790f83 into master Aug 11, 2022
@ryanchristo ryanchristo deleted the aleem/credit-type-migration branch August 11, 2022 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants