Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
sontrinh16 committed Oct 8, 2024
1 parent 687866d commit 9b397f0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions simapp/v2/app_di.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ import (
basedepinject "cosmossdk.io/x/accounts/defaults/base/depinject"
lockupdepinject "cosmossdk.io/x/accounts/defaults/lockup/depinject"
multisigdepinject "cosmossdk.io/x/accounts/defaults/multisig/depinject"
distrkeeper "cosmossdk.io/x/distribution/keeper"
slashingkeeper "cosmossdk.io/x/slashing/keeper"
stakingkeeper "cosmossdk.io/x/staking/keeper"
upgradekeeper "cosmossdk.io/x/upgrade/keeper"

Expand All @@ -46,10 +44,8 @@ type SimApp[T transaction.Tx] struct {

// required keepers during wiring
// others keepers are all in the app
UpgradeKeeper *upgradekeeper.Keeper
StakingKeeper *stakingkeeper.Keeper
DistrKeeper *distrkeeper.Keeper
SlashingKeeper *slashingkeeper.Keeper
UpgradeKeeper *upgradekeeper.Keeper
StakingKeeper *stakingkeeper.Keeper
}

func init() {
Expand Down Expand Up @@ -170,8 +166,6 @@ func NewSimApp[T transaction.Tx](
&app.interfaceRegistry,
&app.UpgradeKeeper,
&app.StakingKeeper,
&app.DistrKeeper,
&app.SlashingKeeper,
); err != nil {
panic(err)
}
Expand Down

0 comments on commit 9b397f0

Please sign in to comment.