Skip to content

Commit

Permalink
refactor: migration keeper in cosmos app
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jan 30, 2025
1 parent ef4c985 commit 08a1dd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions app/app.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package app

import (
migrationmodulekeeper "github.com/pokt-network/poktroll/x/migration/keeper"
// this line is used by starport scaffolding # stargate/app/moduleImport
"io"
"os"
Expand Down Expand Up @@ -70,7 +69,6 @@ type App struct {
// simulation manager
sm *module.SimulationManager

MigrationKeeper migrationmodulekeeper.Keeper
// this line is used by starport scaffolding # stargate/app/keeperDeclaration
// Ignite CLI adds keepers here when scaffolding new modules. Please move the created keeper to the `keepers` package.
}
Expand Down Expand Up @@ -216,7 +214,7 @@ func New(
&app.Keepers.ProofKeeper,
&app.Keepers.TokenomicsKeeper,
&app.Keepers.SharedKeeper,
&app.MigrationKeeper,
&app.Keepers.MigrationKeeper,
// this line is used by starport scaffolding # stargate/app/keeperDefinition
// Ignite CLI adds keepers here when scaffolding new modules. Please move the created keeper to the `keepers` package.
); err != nil {
Expand Down
2 changes: 2 additions & 0 deletions app/keepers/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (

applicationmodulekeeper "github.com/pokt-network/poktroll/x/application/keeper"
gatewaymodulekeeper "github.com/pokt-network/poktroll/x/gateway/keeper"
migrationmodulekeeper "github.com/pokt-network/poktroll/x/migration/keeper"
proofmodulekeeper "github.com/pokt-network/poktroll/x/proof/keeper"
servicemodulekeeper "github.com/pokt-network/poktroll/x/service/keeper"
sessionmodulekeeper "github.com/pokt-network/poktroll/x/session/keeper"
Expand Down Expand Up @@ -82,4 +83,5 @@ type Keepers struct {
ProofKeeper proofmodulekeeper.Keeper
TokenomicsKeeper tokenomicsmodulekeeper.Keeper
SharedKeeper sharedmodulekeeper.Keeper
MigrationKeeper migrationmodulekeeper.Keeper
}

0 comments on commit 08a1dd2

Please sign in to comment.