@@ -138,7 +138,6 @@ import (
138
138
ibcclienttypes "github.com/cosmos/ibc-go/v9/modules/core/02-client/types"
139
139
ibcconnectiontypes "github.com/cosmos/ibc-go/v9/modules/core/03-connection/types"
140
140
porttypes "github.com/cosmos/ibc-go/v9/modules/core/05-port/types"
141
- "github.com/cosmos/ibc-go/v9/modules/core/exported"
142
141
ibcexported "github.com/cosmos/ibc-go/v9/modules/core/exported"
143
142
ibckeeper "github.com/cosmos/ibc-go/v9/modules/core/keeper"
144
143
solomachine "github.com/cosmos/ibc-go/v9/modules/light-clients/06-solomachine"
@@ -321,7 +320,7 @@ func NewSimApp(
321
320
// voteExtOp := func(bApp *baseapp.BaseApp) {
322
321
// voteExtHandler := NewVoteExtensionHandler()
323
322
// voteExtHandler.SetHandlers(bApp)
324
- //}
323
+ // }
325
324
// baseAppOptions = append(baseAppOptions, voteExtOp, baseapp.SetOptimisticExecution(),
326
325
// baseapp.SetIncludeNestedMsgsGas([]sdk.Msg{&govv1.MsgSubmitProposal{}}))
327
326
@@ -539,7 +538,7 @@ func NewSimApp(
539
538
// IBC Fee Module keeper
540
539
app .IBCFeeKeeper = ibcfeekeeper .NewKeeper (
541
540
appCodec ,
542
- runtime .NewEnvironment (runtime .NewKVStoreService (keys [ibcfeetypes .StoreKey ]), logger .With (log .ModuleKey , fmt .Sprintf ("x/%s-%s" , exported .ModuleName , ibcfeetypes .ModuleName ))),
541
+ runtime .NewEnvironment (runtime .NewKVStoreService (keys [ibcfeetypes .StoreKey ]), logger .With (log .ModuleKey , fmt .Sprintf ("x/%s-%s" , ibcexported .ModuleName , ibcfeetypes .ModuleName ))),
543
542
app .IBCKeeper .ChannelKeeper , // may be replaced with IBC middleware
544
543
app .IBCKeeper .ChannelKeeper ,
545
544
app .AuthKeeper , app .BankKeeper ,
@@ -575,7 +574,7 @@ func NewSimApp(
575
574
// since fee middleware will wrap the IBCKeeper for underlying application.
576
575
app .TransferKeeper = ibctransferkeeper .NewKeeper (
577
576
appCodec ,
578
- runtime .NewEnvironment (runtime .NewKVStoreService (keys [ibctransfertypes .StoreKey ]), logger .With (log .ModuleKey , fmt .Sprintf ("x/%s-%s" , exported .ModuleName , ibctransfertypes .ModuleName ))),
577
+ runtime .NewEnvironment (runtime .NewKVStoreService (keys [ibctransfertypes .StoreKey ]), logger .With (log .ModuleKey , fmt .Sprintf ("x/%s-%s" , ibcexported .ModuleName , ibctransfertypes .ModuleName ))),
579
578
app .GetSubspace (ibctransfertypes .ModuleName ),
580
579
app .IBCFeeKeeper , // ISC4 Wrapper: fee IBC middleware
581
580
app .IBCKeeper .ChannelKeeper ,
@@ -959,8 +958,8 @@ func (app *SimApp) EndBlocker(ctx sdk.Context) (sdk.EndBlock, error) {
959
958
return app .ModuleManager .EndBlock (ctx )
960
959
}
961
960
962
- func (a * SimApp ) Configurator () module.Configurator { //nolint:staticcheck // SA1019: Configurator is deprecated but still used in runtime v1.
963
- return a .configurator
961
+ func (app * SimApp ) Configurator () module.Configurator { //nolint:staticcheck // SA1019: Configurator is deprecated but still used in runtime v1.
962
+ return app .configurator
964
963
}
965
964
966
965
// InitChainer application update at chain initialization
@@ -1017,8 +1016,8 @@ func (app *SimApp) AutoCliOpts() autocli.AppOptions {
1017
1016
}
1018
1017
1019
1018
// DefaultGenesis returns a default genesis from the registered AppModule's.
1020
- func (a * SimApp ) DefaultGenesis () map [string ]json.RawMessage {
1021
- return a .ModuleManager .DefaultGenesis ()
1019
+ func (app * SimApp ) DefaultGenesis () map [string ]json.RawMessage {
1020
+ return app .ModuleManager .DefaultGenesis ()
1022
1021
}
1023
1022
1024
1023
// GetKey returns the KVStoreKey for the provided store key.
@@ -1095,7 +1094,7 @@ func (app *SimApp) RegisterNodeService(clientCtx client.Context, cfg config.Conf
1095
1094
1096
1095
// ValidatorKeyProvider returns a function that generates a validator key
1097
1096
// Supported key types are those supported by Comet: ed25519, secp256k1, bls12-381
1098
- func (app * SimApp ) ValidatorKeyProvider () runtime.KeyGenF {
1097
+ func (* SimApp ) ValidatorKeyProvider () runtime.KeyGenF {
1099
1098
return func () (cmtcrypto.PrivKey , error ) {
1100
1099
return cmted25519 .GenPrivKey (), nil
1101
1100
}
0 commit comments