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

smaller app.go #1009

Merged
merged 5 commits into from
Mar 3, 2022
Merged

smaller app.go #1009

merged 5 commits into from
Mar 3, 2022

Conversation

faddat
Copy link
Member

@faddat faddat commented Mar 1, 2022

Closes: #671

Description

Today I worked on upgrading akash to v0.45.1 and got a feel for what @ValarDragon was describing for #671. I thought that moving the blocked addresses and store keys out would aid the cause.


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2022

Codecov Report

Merging #1009 (9127283) into main (08b3bd6) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1009   +/-   ##
=======================================
  Coverage   20.60%   20.60%           
=======================================
  Files         193      193           
  Lines       25237    25237           
=======================================
  Hits         5199     5199           
  Misses      19084    19084           
  Partials      954      954           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 08b3bd6...9127283. Read the comment docs.

Copy link
Member

@ValarDragon ValarDragon left a comment

Choose a reason for hiding this comment

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

EDIT: Left a comment for the wrong PR, haven't reviewed this one yet

@ValarDragon ValarDragon self-requested a review March 1, 2022 03:59
app/keys.go Outdated
txfeestypes "github.com/osmosis-labs/osmosis/v7/x/txfees/types"
)

func KVStoreKeys() []string {
Copy link
Member

Choose a reason for hiding this comment

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

I think this belongs in keepers.go

Copy link
Member

@ValarDragon ValarDragon left a comment

Choose a reason for hiding this comment

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

LGTM! I think that the store keys should go in keepers.go as well though

@faddat
Copy link
Member Author

faddat commented Mar 3, 2022

Ok I'll move the store keys to keepers.go and eliminate keys.go

@ValarDragon ValarDragon added the A:backport/v7.x Do not use. backport patches to v7.x branch label Mar 3, 2022
@ValarDragon ValarDragon merged commit 265890f into main Mar 3, 2022
@ValarDragon ValarDragon deleted the faddat/smallerappgo branch March 3, 2022 05:05
mergify bot pushed a commit that referenced this pull request Mar 3, 2022
* create keys.go and blocked.go to make app.go easier

* flatten NewOsmosisApp

* Update app.go

* fmt

* eliminate keys.go and move store keys to keepers.go

(cherry picked from commit 265890f)
ValarDragon pushed a commit that referenced this pull request Mar 3, 2022
* create keys.go and blocked.go to make app.go easier

* flatten NewOsmosisApp

* Update app.go

* fmt

* eliminate keys.go and move store keys to keepers.go

(cherry picked from commit 265890f)

Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:backport/v7.x Do not use. backport patches to v7.x branch
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Simplify our app.go
3 participants