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

Move x/feegrant/types to x/feegrant #9273

Merged
merged 6 commits into from
May 7, 2021
Merged

Conversation

blushi
Copy link
Contributor

@blushi blushi commented May 6, 2021

Description

closes: #9115


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@codecov
Copy link

codecov bot commented May 6, 2021

Codecov Report

Merging #9273 (5803781) into master (59810f3) will increase coverage by 0.01%.
The diff coverage is 81.98%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9273      +/-   ##
==========================================
+ Coverage   60.18%   60.20%   +0.01%     
==========================================
  Files         593      591       -2     
  Lines       37063    37017      -46     
==========================================
- Hits        22306    22285      -21     
+ Misses      12782    12758      -24     
+ Partials     1975     1974       -1     
Impacted Files Coverage Δ
x/feegrant/basic_fee.go 88.23% <ø> (ø)
x/feegrant/codec.go 100.00% <ø> (ø)
x/feegrant/filtered_fee.go 0.00% <ø> (ø)
x/feegrant/grant.go 70.37% <ø> (ø)
x/feegrant/key.go 0.00% <ø> (ø)
x/feegrant/msgs.go 72.09% <ø> (ø)
x/feegrant/periodic_fee.go 68.42% <ø> (ø)
x/feegrant/genesis.go 14.28% <25.00%> (-76.20%) ⬇️
x/feegrant/simulation/operations.go 77.19% <60.71%> (ø)
x/feegrant/keeper/keeper.go 86.11% <92.10%> (+1.05%) ⬆️
... and 6 more

@blushi blushi marked this pull request as ready for review May 6, 2021 09:43
@blushi blushi requested review from aaronc and alexanderbez as code owners May 6, 2021 09:43
@blushi blushi mentioned this pull request May 6, 2021
7 tasks
Copy link
Contributor

@aleem1314 aleem1314 left a comment

Choose a reason for hiding this comment

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

Looks good, could you also update the code snippets in specs?

@blushi blushi removed the C:x/auth label May 6, 2021
@blushi
Copy link
Contributor Author

blushi commented May 6, 2021

@aleem1314 Done, I've also updated the naming in spec and other places in the code that were still inconsistent with the new simplified namings.

@github-actions github-actions bot added C:x/auth T:Docs Changes and features related to documentation. labels May 6, 2021
@aleem1314 aleem1314 removed the C:x/auth label May 6, 2021
Copy link
Contributor

@atheeshp atheeshp left a comment

Choose a reason for hiding this comment

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

looks good, just a small doubt.

simapp/app.go Outdated
feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper"
feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant/types"
feegrant_m "github.com/cosmos/cosmos-sdk/x/feegrant/module"
Copy link
Contributor

@atheeshp atheeshp May 6, 2021

Choose a reason for hiding this comment

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

Is this package name okay? shouldn't we consider feegrantmodule here? I can see a name feegrantkeeper which is similar to this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just wanted to make it consistent with @robert-zaremba's PR on authz updates #9042 but I'm open to change it

Copy link
Member

Choose a reason for hiding this comment

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

I would vote for feegrantmodule even though it's longer because it's easier to read.

@blushi blushi added the A:automerge Automatically merge PR once all prerequisites pass. label May 7, 2021
@mergify mergify bot merged commit 3582cce into master May 7, 2021
@mergify mergify bot deleted the marie/9115-feegrant-types branch May 7, 2021 07:10
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
* Move x/feegrant/types to x/feegrant

* Update spec

* Use feegrantmodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass. C:CLI C:Simulations C:x/auth C:x/feegrant T:Docs Changes and features related to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x/feegrant Updates
5 participants