Skip to content

Commit

Permalink
test adding cosmwasm module
Browse files Browse the repository at this point in the history
  • Loading branch information
dekm committed Jan 12, 2024
1 parent d939743 commit 77f7ef6
Show file tree
Hide file tree
Showing 6 changed files with 15,378 additions and 6,527 deletions.
15 changes: 9 additions & 6 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ import (
ibctransferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"

//ugdvestingmodulekeeper "github.com/unigrid-project/cosmos-sdk-unigrid-hedgehog-vesting/x/ugdvesting/keeper"
paxmodulekeeper "github.com/unigrid-project/pax/x/pax/keeper"

//wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
gridnodemodulekeeper "github.com/unigrid-project/cosmos-gridnode/x/gridnode/keeper"
ugdmintmodulekeeper "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/keeper"

//ugdvestingmodulekeeper "github.com/unigrid-project/cosmos-unigrid-hedgehog-vesting/x/ugdvesting/keeper"
paxmodulekeeper "github.com/unigrid-project/pax/x/pax/keeper"

//ugdmintmodulekeeper "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/keeper"
// this line is used by starport scaffolding # stargate/app/moduleImport

"github.com/unigrid-project/pax/docs"
Expand Down Expand Up @@ -123,8 +124,9 @@ type App struct {

PaxKeeper paxmodulekeeper.Keeper
//UgdvestingKeeper ugdvestingmodulekeeper.Keeper
UgdmintKeeper ugdmintmodulekeeper.Keeper
// UgdmintKeeper ugdmintmodulekeeper.Keeper
GridnodeKeeper gridnodemodulekeeper.Keeper
//WasmKeeper wasmkeeper.Keeper
// this line is used by starport scaffolding # stargate/app/keeperDeclaration

// simulation manager
Expand Down Expand Up @@ -264,8 +266,9 @@ func New(
&app.CircuitBreakerKeeper,
&app.PaxKeeper,
//&app.UgdvestingKeeper,
&app.UgdmintKeeper,
//&app.UgdmintKeeper,
&app.GridnodeKeeper,
//&app.WasmKeeper,
// this line is used by starport scaffolding # stargate/app/keeperDefinition
); err != nil {
panic(err)
Expand Down
26 changes: 14 additions & 12 deletions app/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,19 @@ import (
ibctransfertypes "github.com/cosmos/ibc-go/v8/modules/apps/transfer/types"
ibcexported "github.com/cosmos/ibc-go/v8/modules/core/exported"

ugdmintmodulev1 "github.com/unigrid-project/cosmos-ugdmint/api/cosmos/ugdmint/module/v1"
_ "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/module" // import for side-effects
ugdmintmoduletypes "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/types"
// ugdmintmodulev1 "github.com/unigrid-project/cosmos-ugdmint/api/cosmos/ugdmint/module/v1"
// _ "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/module" // import for side-effects
// ugdmintmoduletypes "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/types"

// _ "github.com/unigrid-project/cosmos-sdk-unigrid-hedgehog-vesting/x/ugdvesting/module" // import for side-effects
// ugdvestingmoduletypes "github.com/unigrid-project/cosmos-sdk-unigrid-hedgehog-vesting/x/ugdvesting/types"
// ugdvestingmodulev1 "github.com/unigrid-project/cosmos-unigrid-hedgehog-vesting/api/ugdvesting/ugdvesting/module"
// _ "github.com/unigrid-project/cosmos-unigrid-hedgehog-vesting/x/ugdvesting/module" // import for side-effects
// ugdvestingmoduletypes "github.com/unigrid-project/cosmos-unigrid-hedgehog-vesting/x/ugdvesting/types"
paxmodulev1 "github.com/unigrid-project/pax/api/pax/pax/module"

gridnodemodulev1 "github.com/unigrid-project/cosmos-gridnode/api/gridnode/module"
_ "github.com/unigrid-project/cosmos-gridnode/x/gridnode/module" // import for side-effects
gridnodemoduletypes "github.com/unigrid-project/cosmos-gridnode/x/gridnode/types"

_ "github.com/unigrid-project/pax/x/pax/module" // import for side-effects
paxmoduletypes "github.com/unigrid-project/pax/x/pax/types"
"google.golang.org/protobuf/types/known/durationpb"
Expand Down Expand Up @@ -123,7 +125,7 @@ var (
// chain modules
paxmoduletypes.ModuleName,
//ugdvestingmoduletypes.ModuleName,
ugdmintmoduletypes.ModuleName,
//ugdmintmoduletypes.ModuleName,
gridnodemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/initGenesis
}
Expand Down Expand Up @@ -151,7 +153,7 @@ var (
// chain modules
paxmoduletypes.ModuleName,
//ugdvestingmoduletypes.ModuleName,
ugdmintmoduletypes.ModuleName,
//ugdmintmoduletypes.ModuleName,
gridnodemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/beginBlockers
}
Expand All @@ -173,7 +175,7 @@ var (
// chain modules
paxmoduletypes.ModuleName,
//ugdvestingmoduletypes.ModuleName,
ugdmintmoduletypes.ModuleName,
//ugdmintmoduletypes.ModuleName,
gridnodemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/endBlockers
}
Expand Down Expand Up @@ -332,10 +334,10 @@ var (
// Name: ugdvestingmoduletypes.ModuleName,
// Config: appconfig.WrapAny(&ugdvestingmodulev1.Module{}),
// },
{
Name: ugdmintmoduletypes.ModuleName,
Config: appconfig.WrapAny(&ugdmintmodulev1.Module{}),
},
// {
// Name: ugdmintmoduletypes.ModuleName,
// Config: appconfig.WrapAny(&ugdmintmodulev1.Module{}),
// },
{
Name: gridnodemoduletypes.ModuleName,
Config: appconfig.WrapAny(&gridnodemodulev1.Module{}),
Expand Down
2 changes: 1 addition & 1 deletion buf.work.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
version: v1
directories:
- proto
- proto
Loading

0 comments on commit 77f7ef6

Please sign in to comment.