mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 02:54:25 -08:00
cosmostest -> colinear in dir structure
This commit is contained in:
40
app/app.go
40
app/app.go
@@ -98,17 +98,17 @@ import (
|
||||
monitoringpkeeper "github.com/tendermint/spn/x/monitoringp/keeper"
|
||||
monitoringptypes "github.com/tendermint/spn/x/monitoringp/types"
|
||||
|
||||
"cosmos-test/docs"
|
||||
"colinear/docs"
|
||||
|
||||
cosmostestmodule "cosmos-test/x/cosmostest"
|
||||
cosmostestmodulekeeper "cosmos-test/x/cosmostest/keeper"
|
||||
cosmostestmoduletypes "cosmos-test/x/cosmostest/types"
|
||||
colinearmodule "colinear/x/colinear-core"
|
||||
colinearmodulekeeper "colinear/x/colinear-core/keeper"
|
||||
colinearmoduletypes "colinear/x/colinear-core/types"
|
||||
// this line is used by starport scaffolding # stargate/app/moduleImport
|
||||
)
|
||||
|
||||
const (
|
||||
AccountAddressPrefix = "cosmos"
|
||||
Name = "cosmos-test"
|
||||
Name = "colinear"
|
||||
)
|
||||
|
||||
// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals
|
||||
@@ -157,7 +157,7 @@ var (
|
||||
transfer.AppModuleBasic{},
|
||||
vesting.AppModuleBasic{},
|
||||
monitoringp.AppModuleBasic{},
|
||||
cosmostestmodule.AppModuleBasic{},
|
||||
colinearmodule.AppModuleBasic{},
|
||||
// this line is used by starport scaffolding # stargate/app/moduleBasic
|
||||
)
|
||||
|
||||
@@ -171,7 +171,7 @@ var (
|
||||
govtypes.ModuleName: {authtypes.Burner},
|
||||
ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner},
|
||||
// auction module will only need escrow perms, not minting or burning
|
||||
cosmostestmoduletypes.ModuleName: nil,
|
||||
colinearmoduletypes.ModuleName: nil,
|
||||
// this line is used by starport scaffolding # stargate/app/maccPerms
|
||||
}
|
||||
)
|
||||
@@ -232,7 +232,7 @@ type App struct {
|
||||
ScopedTransferKeeper capabilitykeeper.ScopedKeeper
|
||||
ScopedMonitoringKeeper capabilitykeeper.ScopedKeeper
|
||||
|
||||
CosmostestKeeper cosmostestmodulekeeper.Keeper
|
||||
ColinearcoreKeeper colinearmodulekeeper.Keeper
|
||||
// this line is used by starport scaffolding # stargate/app/keeperDeclaration
|
||||
|
||||
// mm is the module manager
|
||||
@@ -269,7 +269,7 @@ func New(
|
||||
minttypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey,
|
||||
govtypes.StoreKey, paramstypes.StoreKey, ibchost.StoreKey, upgradetypes.StoreKey, feegrant.StoreKey,
|
||||
evidencetypes.StoreKey, ibctransfertypes.StoreKey, capabilitytypes.StoreKey, monitoringptypes.StoreKey,
|
||||
cosmostestmoduletypes.StoreKey,
|
||||
colinearmoduletypes.StoreKey,
|
||||
// this line is used by starport scaffolding # stargate/app/storeKey
|
||||
)
|
||||
tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)
|
||||
@@ -391,14 +391,14 @@ func New(
|
||||
)
|
||||
monitoringModule := monitoringp.NewAppModule(appCodec, app.MonitoringKeeper)
|
||||
|
||||
app.CosmostestKeeper = *cosmostestmodulekeeper.NewKeeper(
|
||||
app.ColinearcoreKeeper = *colinearmodulekeeper.NewKeeper(
|
||||
appCodec,
|
||||
keys[cosmostestmoduletypes.StoreKey],
|
||||
keys[cosmostestmoduletypes.MemStoreKey],
|
||||
app.GetSubspace(cosmostestmoduletypes.ModuleName),
|
||||
keys[colinearmoduletypes.StoreKey],
|
||||
keys[colinearmoduletypes.MemStoreKey],
|
||||
app.GetSubspace(colinearmoduletypes.ModuleName),
|
||||
app.BankKeeper,
|
||||
)
|
||||
cosmostestModule := cosmostestmodule.NewAppModule(appCodec, app.CosmostestKeeper, app.AccountKeeper, app.BankKeeper)
|
||||
colinearModule := colinearmodule.NewAppModule(appCodec, app.ColinearcoreKeeper, app.AccountKeeper, app.BankKeeper)
|
||||
|
||||
// this line is used by starport scaffolding # stargate/app/keeperDefinition
|
||||
|
||||
@@ -441,7 +441,7 @@ func New(
|
||||
params.NewAppModule(app.ParamsKeeper),
|
||||
transferModule,
|
||||
monitoringModule,
|
||||
cosmostestModule,
|
||||
colinearModule,
|
||||
// this line is used by starport scaffolding # stargate/app/appModule
|
||||
)
|
||||
|
||||
@@ -469,7 +469,7 @@ func New(
|
||||
feegrant.ModuleName,
|
||||
paramstypes.ModuleName,
|
||||
monitoringptypes.ModuleName,
|
||||
cosmostestmoduletypes.ModuleName,
|
||||
colinearmoduletypes.ModuleName,
|
||||
// this line is used by starport scaffolding # stargate/app/beginBlockers
|
||||
)
|
||||
|
||||
@@ -493,7 +493,7 @@ func New(
|
||||
ibchost.ModuleName,
|
||||
ibctransfertypes.ModuleName,
|
||||
monitoringptypes.ModuleName,
|
||||
cosmostestmoduletypes.ModuleName,
|
||||
colinearmoduletypes.ModuleName,
|
||||
// this line is used by starport scaffolding # stargate/app/endBlockers
|
||||
)
|
||||
|
||||
@@ -522,7 +522,7 @@ func New(
|
||||
ibctransfertypes.ModuleName,
|
||||
feegrant.ModuleName,
|
||||
monitoringptypes.ModuleName,
|
||||
cosmostestmoduletypes.ModuleName,
|
||||
colinearmoduletypes.ModuleName,
|
||||
// this line is used by starport scaffolding # stargate/app/initGenesis
|
||||
)
|
||||
|
||||
@@ -547,7 +547,7 @@ func New(
|
||||
ibc.NewAppModule(app.IBCKeeper),
|
||||
transferModule,
|
||||
monitoringModule,
|
||||
cosmostestModule,
|
||||
colinearModule,
|
||||
// this line is used by starport scaffolding # stargate/app/appModule
|
||||
)
|
||||
app.sm.RegisterStoreDecoders()
|
||||
@@ -737,7 +737,7 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
|
||||
paramsKeeper.Subspace(ibctransfertypes.ModuleName)
|
||||
paramsKeeper.Subspace(ibchost.ModuleName)
|
||||
paramsKeeper.Subspace(monitoringptypes.ModuleName)
|
||||
paramsKeeper.Subspace(cosmostestmoduletypes.ModuleName)
|
||||
paramsKeeper.Subspace(colinearmoduletypes.ModuleName)
|
||||
// this line is used by starport scaffolding # stargate/app/paramSubspace
|
||||
|
||||
return paramsKeeper
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"cosmos-test/app"
|
||||
"colinear/app"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/baseapp"
|
||||
"github.com/cosmos/cosmos-sdk/codec"
|
||||
|
||||
Reference in New Issue
Block a user