Skip to content

Commit

Permalink
fix staking keeper
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Jun 15, 2022
1 parent 8e5a19c commit 8c7a657
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ func New(

// Create IBC Keeper
app.IBCKeeper = ibckeeper.NewKeeper(
appCodec, keys[ibchost.StoreKey], app.GetSubspace(ibchost.ModuleName), app.StakingKeeper, app.UpgradeKeeper, scopedIBCKeeper,
appCodec, keys[ibchost.StoreKey], app.GetSubspace(ibchost.ModuleName), stakingKeeper, app.UpgradeKeeper, scopedIBCKeeper,
)

// register the proposal types
Expand All @@ -420,7 +420,7 @@ func New(

// Create evidence Keeper for to register the IBC light client misbehaviour evidence route
evidenceKeeper := evidencekeeper.NewKeeper(
appCodec, keys[evidencetypes.StoreKey], &app.StakingKeeper, app.SlashingKeeper,
appCodec, keys[evidencetypes.StoreKey], &stakingKeeper, app.SlashingKeeper,
)
// If evidence needs to be handled for the app, set routes in router here and seal
app.EvidenceKeeper = *evidenceKeeper
Expand Down Expand Up @@ -505,7 +505,7 @@ func New(
keys[monitoringpmoduletypes.StoreKey],
keys[monitoringpmoduletypes.MemStoreKey],
app.GetSubspace(monitoringpmoduletypes.ModuleName),
app.StakingKeeper,
stakingKeeper,
app.IBCKeeper.ClientKeeper,
app.IBCKeeper.ConnectionKeeper,
app.IBCKeeper.ChannelKeeper,
Expand All @@ -520,7 +520,7 @@ func New(
keys[participationmoduletypes.MemStoreKey],
app.GetSubspace(participationmoduletypes.ModuleName),
app.FundraisingKeeper,
app.StakingKeeper,
stakingKeeper,
)

app.ClaimKeeper = *claimmodulekeeper.NewKeeper(
Expand Down

0 comments on commit 8c7a657

Please sign in to comment.