@@ -55,9 +55,9 @@ import (
55
55
"github.com/cosmos/cosmos-sdk/x/evidence"
56
56
evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper"
57
57
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types"
58
- feegrant "github.com/cosmos/cosmos-sdk/x/feegrant"
58
+ "github.com/cosmos/cosmos-sdk/x/feegrant"
59
59
feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper"
60
- feegranttypes "github.com/cosmos/cosmos-sdk/x/feegrant/types "
60
+ feegrantmodule "github.com/cosmos/cosmos-sdk/x/feegrant/module "
61
61
"github.com/cosmos/cosmos-sdk/x/genutil"
62
62
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
63
63
"github.com/cosmos/cosmos-sdk/x/gov"
@@ -95,7 +95,7 @@ import (
95
95
96
96
authz "github.com/cosmos/cosmos-sdk/x/authz"
97
97
authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper"
98
- authztypes "github.com/cosmos/cosmos-sdk/x/authz/types "
98
+ authzmodule "github.com/cosmos/cosmos-sdk/x/authz/module "
99
99
100
100
// unnamed import of statik for swagger UI support
101
101
_ "github.com/cosmos/cosmos-sdk/client/docs/statik"
@@ -126,12 +126,12 @@ var (
126
126
crisis.AppModuleBasic {},
127
127
slashing.AppModuleBasic {},
128
128
ibc.AppModuleBasic {},
129
- feegrant .AppModuleBasic {},
129
+ feegrantmodule .AppModuleBasic {},
130
130
upgrade.AppModuleBasic {},
131
131
evidence.AppModuleBasic {},
132
132
transfer.AppModuleBasic {},
133
133
ibcmock.AppModuleBasic {},
134
- authz .AppModuleBasic {},
134
+ authzmodule .AppModuleBasic {},
135
135
vesting.AppModuleBasic {},
136
136
)
137
137
@@ -229,9 +229,9 @@ func NewSimApp(
229
229
keys := sdk .NewKVStoreKeys (
230
230
authtypes .StoreKey , banktypes .StoreKey , stakingtypes .StoreKey ,
231
231
minttypes .StoreKey , distrtypes .StoreKey , slashingtypes .StoreKey ,
232
- govtypes .StoreKey , paramstypes .StoreKey , ibchost .StoreKey , upgradetypes .StoreKey , feegranttypes .StoreKey ,
232
+ govtypes .StoreKey , paramstypes .StoreKey , ibchost .StoreKey , upgradetypes .StoreKey , feegrant .StoreKey ,
233
233
evidencetypes .StoreKey , ibctransfertypes .StoreKey , capabilitytypes .StoreKey ,
234
- authztypes .StoreKey ,
234
+ authzkeeper .StoreKey ,
235
235
)
236
236
tkeys := sdk .NewTransientStoreKeys (paramstypes .TStoreKey )
237
237
memKeys := sdk .NewMemoryStoreKeys (capabilitytypes .MemStoreKey )
@@ -285,7 +285,7 @@ func NewSimApp(
285
285
app .GetSubspace (crisistypes .ModuleName ), invCheckPeriod , app .BankKeeper , authtypes .FeeCollectorName ,
286
286
)
287
287
288
- app .FeeGrantKeeper = feegrantkeeper .NewKeeper (appCodec , keys [feegranttypes .StoreKey ], app .AccountKeeper )
288
+ app .FeeGrantKeeper = feegrantkeeper .NewKeeper (appCodec , keys [feegrant .StoreKey ], app .AccountKeeper )
289
289
app .UpgradeKeeper = upgradekeeper .NewKeeper (skipUpgradeHeights , keys [upgradetypes .StoreKey ], appCodec , homePath , app .BaseApp )
290
290
291
291
// register the staking hooks
@@ -299,7 +299,7 @@ func NewSimApp(
299
299
appCodec , keys [ibchost .StoreKey ], app .GetSubspace (ibchost .ModuleName ), app .StakingKeeper , app .UpgradeKeeper , scopedIBCKeeper ,
300
300
)
301
301
302
- app .AuthzKeeper = authzkeeper .NewKeeper (keys [authztypes .StoreKey ], appCodec , app .BaseApp .MsgServiceRouter ())
302
+ app .AuthzKeeper = authzkeeper .NewKeeper (keys [authzkeeper .StoreKey ], appCodec , app .BaseApp .MsgServiceRouter ())
303
303
304
304
// register the proposal types
305
305
govRouter := govtypes .NewRouter ()
@@ -356,7 +356,7 @@ func NewSimApp(
356
356
bank .NewAppModule (appCodec , app .BankKeeper , app .AccountKeeper ),
357
357
capability .NewAppModule (appCodec , * app .CapabilityKeeper ),
358
358
crisis .NewAppModule (& app .CrisisKeeper , skipGenesisInvariants ),
359
- feegrant .NewAppModule (appCodec , app .AccountKeeper , app .BankKeeper , app .FeeGrantKeeper , app .interfaceRegistry ),
359
+ feegrantmodule .NewAppModule (appCodec , app .AccountKeeper , app .BankKeeper , app .FeeGrantKeeper , app .interfaceRegistry ),
360
360
gov .NewAppModule (appCodec , app .GovKeeper , app .AccountKeeper , app .BankKeeper ),
361
361
mint .NewAppModule (appCodec , app .MintKeeper , app .AccountKeeper ),
362
362
slashing .NewAppModule (appCodec , app .SlashingKeeper , app .AccountKeeper , app .BankKeeper , app .StakingKeeper ),
@@ -366,7 +366,7 @@ func NewSimApp(
366
366
evidence .NewAppModule (app .EvidenceKeeper ),
367
367
ibc .NewAppModule (app .IBCKeeper ),
368
368
params .NewAppModule (app .ParamsKeeper ),
369
- authz .NewAppModule (appCodec , app .AuthzKeeper , app .AccountKeeper , app .BankKeeper , app .interfaceRegistry ),
369
+ authzmodule .NewAppModule (appCodec , app .AuthzKeeper , app .AccountKeeper , app .BankKeeper , app .interfaceRegistry ),
370
370
transferModule ,
371
371
mockModule ,
372
372
)
@@ -389,8 +389,8 @@ func NewSimApp(
389
389
app .mm .SetOrderInitGenesis (
390
390
capabilitytypes .ModuleName , authtypes .ModuleName , banktypes .ModuleName , distrtypes .ModuleName , stakingtypes .ModuleName ,
391
391
slashingtypes .ModuleName , govtypes .ModuleName , minttypes .ModuleName , crisistypes .ModuleName ,
392
- ibchost .ModuleName , genutiltypes .ModuleName , evidencetypes .ModuleName , authztypes .ModuleName , ibctransfertypes .ModuleName ,
393
- ibcmock .ModuleName , feegranttypes .ModuleName ,
392
+ ibchost .ModuleName , genutiltypes .ModuleName , evidencetypes .ModuleName , authz .ModuleName , ibctransfertypes .ModuleName ,
393
+ ibcmock .ModuleName , feegrant .ModuleName ,
394
394
)
395
395
396
396
app .mm .RegisterInvariants (& app .CrisisKeeper )
@@ -409,15 +409,15 @@ func NewSimApp(
409
409
auth .NewAppModule (appCodec , app .AccountKeeper , authsims .RandomGenesisAccounts ),
410
410
bank .NewAppModule (appCodec , app .BankKeeper , app .AccountKeeper ),
411
411
capability .NewAppModule (appCodec , * app .CapabilityKeeper ),
412
- feegrant .NewAppModule (appCodec , app .AccountKeeper , app .BankKeeper , app .FeeGrantKeeper , app .interfaceRegistry ),
412
+ feegrantmodule .NewAppModule (appCodec , app .AccountKeeper , app .BankKeeper , app .FeeGrantKeeper , app .interfaceRegistry ),
413
413
gov .NewAppModule (appCodec , app .GovKeeper , app .AccountKeeper , app .BankKeeper ),
414
414
mint .NewAppModule (appCodec , app .MintKeeper , app .AccountKeeper ),
415
415
staking .NewAppModule (appCodec , app .StakingKeeper , app .AccountKeeper , app .BankKeeper ),
416
416
distr .NewAppModule (appCodec , app .DistrKeeper , app .AccountKeeper , app .BankKeeper , app .StakingKeeper ),
417
417
slashing .NewAppModule (appCodec , app .SlashingKeeper , app .AccountKeeper , app .BankKeeper , app .StakingKeeper ),
418
418
params .NewAppModule (app .ParamsKeeper ),
419
419
evidence .NewAppModule (app .EvidenceKeeper ),
420
- authz .NewAppModule (appCodec , app .AuthzKeeper , app .AccountKeeper , app .BankKeeper , app .interfaceRegistry ),
420
+ authzmodule .NewAppModule (appCodec , app .AuthzKeeper , app .AccountKeeper , app .BankKeeper , app .interfaceRegistry ),
421
421
ibc .NewAppModule (app .IBCKeeper ),
422
422
transferModule ,
423
423
)
0 commit comments