-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1ec4a2
commit 0b3f90a
Showing
10 changed files
with
163 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,6 @@ import ( | |
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types" | ||
"github.com/cosmos/cosmos-sdk/x/feegrant" | ||
"github.com/cosmos/cosmos-sdk/x/group" | ||
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" | ||
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" | ||
evmmodulev1 "github.com/evmos/ethermint/api/ethermint/evm/module/v1" | ||
Check failure on line 27 in app/app_config.go GitHub Actions / Test Units
|
||
feemarketmodulev1 "github.com/evmos/ethermint/api/ethermint/feemarket/module/v1" | ||
evmtypes "github.com/evmos/ethermint/x/evm/types" | ||
|
@@ -46,19 +44,24 @@ import ( | |
tokentypes "mods.irisnet.org/modules/token/types" | ||
|
||
genutilmodulev1 "iritamod.bianjie.ai/api/iritamod/genutil/module/v1" | ||
identitymodulev1 "iritamod.bianjie.ai/api/iritamod/identity/module/v1" | ||
nodemodulev1 "iritamod.bianjie.ai/api/iritamod/node/module/v1" | ||
paramsmodulev1 "iritamod.bianjie.ai/api/iritamod/params/module/v1" | ||
slashingmodulev1 "iritamod.bianjie.ai/api/iritamod/slashing/module/v1" | ||
upgrademodulev1 "iritamod.bianjie.ai/api/iritamod/upgrade/module/v1" | ||
genutiltypes "iritamod.bianjie.ai/modules/genutil" | ||
identitytypes "iritamod.bianjie.ai/modules/identity/types" | ||
nodetypes "iritamod.bianjie.ai/modules/node/types" | ||
paramstypes "iritamod.bianjie.ai/modules/params/types" | ||
slashingtypes "iritamod.bianjie.ai/modules/slashing/types" | ||
upgradetypes "iritamod.bianjie.ai/modules/upgrade/types" | ||
|
||
_ "github.com/bianjieai/tibc-go/modules/tibc/apps/mt_transfer" // import for side-effects | ||
_ "iritamod.bianjie.ai/modules/genutil" // import for side-effects | ||
_ "iritamod.bianjie.ai/modules/identity" // import for side-effects | ||
_ "iritamod.bianjie.ai/modules/node" // import for side-effects | ||
_ "iritamod.bianjie.ai/modules/params" // import for side-effects | ||
_ "iritamod.bianjie.ai/modules/slashing" // import for side-effects | ||
_ "iritamod.bianjie.ai/modules/upgrade" // import for side-effects | ||
_ "mods.irisnet.org/modules/mt" // import for side-effects | ||
_ "mods.irisnet.org/modules/oracle" // import for side-effects | ||
|
@@ -78,29 +81,29 @@ var ( | |
// can do so safely. | ||
genesisModuleOrder = []string{ | ||
capabilitytypes.ModuleName, | ||
authtypes.ModuleName, | ||
authtypes.ModuleName, | ||
banktypes.ModuleName, | ||
nodetypes.ModuleName, | ||
nodetypes.ModuleName, | ||
slashingtypes.ModuleName, | ||
crisistypes.ModuleName, | ||
genutiltypes.ModuleName, | ||
crisistypes.ModuleName, | ||
genutiltypes.ModuleName, | ||
evidencetypes.ModuleName, | ||
feegrant.ModuleName, | ||
paramstypes.ModuleName, | ||
feegrant.ModuleName, | ||
paramstypes.ModuleName, | ||
upgradetypes.ModuleName, | ||
consensustypes.ModuleName, | ||
mttypes.ModuleName, | ||
nfttypes.ModuleName, | ||
servicetypes.ModuleName, | ||
servicetypes.ModuleName, | ||
oracletypes.ModuleName, | ||
randomtypes.ModuleName, | ||
recordtypes.ModuleName, | ||
identitytypes.ModuleName, | ||
tokentypes.ModuleName, | ||
tibchost.ModuleName, | ||
tibcnfttypes.ModuleName, | ||
tibcmttypes.ModuleName, | ||
evmtypes.ModuleName, | ||
tibcmttypes.ModuleName, | ||
evmtypes.ModuleName, | ||
feemarkettypes.ModuleName, | ||
} | ||
|
||
|
@@ -113,6 +116,7 @@ var ( | |
{Account: servicetypes.RequestAccName}, | ||
{Account: servicetypes.FeeCollectorName, Permissions: []string{authtypes.Burner}}, | ||
{Account: tokentypes.ModuleName, Permissions: []string{authtypes.Minter, authtypes.Burner}}, | ||
{Account: evmtypes.ModuleName, Permissions: []string{authtypes.Minter, authtypes.Burner}}, // used for secure addition and subtraction of balance using module account | ||
} | ||
|
||
// blocked account addresses | ||
|
@@ -122,7 +126,7 @@ var ( | |
servicetypes.RequestAccName, | ||
servicetypes.FeeCollectorName, | ||
tokentypes.ModuleName, | ||
evmtypes.ModuleName, | ||
evmtypes.ModuleName, | ||
feemarkettypes.ModuleName, | ||
// We allow the following module accounts to receive funds: | ||
// govtypes.ModuleName | ||
|
@@ -152,6 +156,7 @@ var ( | |
genutiltypes.ModuleName, | ||
feegrant.ModuleName, | ||
paramstypes.ModuleName, | ||
identitytypes.ModuleName, | ||
mttypes.ModuleName, | ||
nfttypes.ModuleName, | ||
servicetypes.ModuleName, | ||
|
@@ -160,7 +165,7 @@ var ( | |
recordtypes.ModuleName, | ||
tokentypes.ModuleName, | ||
consensustypes.ModuleName, | ||
evmtypes.ModuleName, | ||
evmtypes.ModuleName, | ||
feemarkettypes.ModuleName, | ||
}, | ||
EndBlockers: []string{ | ||
|
@@ -178,14 +183,15 @@ var ( | |
paramstypes.ModuleName, | ||
upgradetypes.ModuleName, | ||
consensustypes.ModuleName, | ||
identitytypes.ModuleName, | ||
mttypes.ModuleName, | ||
nfttypes.ModuleName, | ||
servicetypes.ModuleName, | ||
oracletypes.ModuleName, | ||
randomtypes.ModuleName, | ||
recordtypes.ModuleName, | ||
tokentypes.ModuleName, | ||
evmtypes.ModuleName, | ||
evmtypes.ModuleName, | ||
feemarkettypes.ModuleName, | ||
}, | ||
OverrideStoreKeys: []*runtimev1alpha1.StoreKeyConfig{ | ||
|
@@ -264,6 +270,10 @@ var ( | |
Name: consensustypes.ModuleName, | ||
Config: appconfig.WrapAny(&consensusmodulev1.Module{}), | ||
}, | ||
{ | ||
Name: identitytypes.ModuleName, | ||
Config: appconfig.WrapAny(&identitymodulev1.Module{}), | ||
}, | ||
{ | ||
Name: nfttypes.ModuleName, | ||
Config: appconfig.WrapAny(&nftmodule.Module{}), | ||
|
@@ -303,9 +313,8 @@ var ( | |
}), | ||
}, | ||
{ | ||
Name: feemarkettypes.ModuleName, | ||
Config: appconfig.WrapAny(&feemarketmodulev1.Module{ | ||
}), | ||
Name: feemarkettypes.ModuleName, | ||
Config: appconfig.WrapAny(&feemarketmodulev1.Module{}), | ||
}, | ||
}, | ||
}) | ||
|
@@ -317,4 +326,4 @@ func DefaultDepinjectOptions() DepinjectOptions { | |
Providers: []interface{}{}, | ||
Consumers: []interface{}{}, | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.