From bea164841e3bd66af1dca80ff0762a219a7bf8c3 Mon Sep 17 00:00:00 2001 From: yutianwu Date: Mon, 10 Apr 2023 19:10:07 +0800 Subject: [PATCH] fix build --- simapp/app.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/simapp/app.go b/simapp/app.go index 3da6302b90..51c4e5b93e 100644 --- a/simapp/app.go +++ b/simapp/app.go @@ -16,11 +16,12 @@ import ( "cosmossdk.io/log" abci "github.com/cometbft/cometbft/abci/types" dbm "github.com/cosmos/cosmos-db" + "github.com/cosmos/gogoproto/proto" + "github.com/spf13/cast" + "github.com/cosmos/cosmos-sdk/x/crosschain" crosschainkeeper "github.com/cosmos/cosmos-sdk/x/crosschain/keeper" crosschaintypes "github.com/cosmos/cosmos-sdk/x/crosschain/types" - "github.com/cosmos/gogoproto/proto" - "github.com/spf13/cast" simappparams "cosmossdk.io/simapp/params" storetypes "cosmossdk.io/store/types" @@ -305,7 +306,7 @@ func NewSimApp( authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) app.StakingKeeper = stakingkeeper.NewKeeper( - appCodec, keys[stakingtypes.StoreKey], app.AccountKeeper, app.BankKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), + appCodec, keys[stakingtypes.StoreKey], app.AccountKeeper, app.AuthzKeeper, app.BankKeeper, authtypes.NewModuleAddress(govtypes.ModuleName).String(), ) app.MintKeeper = mintkeeper.NewKeeper(appCodec, keys[minttypes.StoreKey], app.StakingKeeper, app.AccountKeeper, app.BankKeeper, authtypes.FeeCollectorName, authtypes.NewModuleAddress(govtypes.ModuleName).String())