Skip to content

Commit

Permalink
add back in the vesting module
Browse files Browse the repository at this point in the history
  • Loading branch information
dekm committed Jan 22, 2024
1 parent ef5724a commit 3fc53cc
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 76 deletions.
10 changes: 5 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ 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-unigrid-hedgehog-vesting/x/ugdvesting/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"

// this line is used by starport scaffolding # stargate/app/moduleImport
Expand Down Expand Up @@ -120,10 +120,10 @@ type App struct {
ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper
ScopedICAHostKeeper capabilitykeeper.ScopedKeeper

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

// simulation manager
Expand Down Expand Up @@ -262,7 +262,7 @@ func New(
&app.ConsensusParamsKeeper,
&app.CircuitBreakerKeeper,
&app.PaxKeeper,
//&app.UgdvestingKeeper,
&app.UgdvestingKeeper,
&app.UgdmintKeeper,
&app.GridnodeKeeper,
// this line is used by starport scaffolding # stargate/app/keeperDefinition
Expand Down
22 changes: 11 additions & 11 deletions app/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ import (
_ "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/module" // import for side-effects
ugdmintmoduletypes "github.com/unigrid-project/cosmos-ugdmint/x/ugdmint/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"
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/pax/gridnode/module"
Expand Down Expand Up @@ -122,7 +122,7 @@ var (
circuittypes.ModuleName,
// chain modules
paxmoduletypes.ModuleName,
//ugdvestingmoduletypes.ModuleName,
ugdvestingmoduletypes.ModuleName,
ugdmintmoduletypes.ModuleName,
gridnodemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/initGenesis
Expand Down Expand Up @@ -150,7 +150,7 @@ var (
ibcfeetypes.ModuleName,
// chain modules
paxmoduletypes.ModuleName,
//ugdvestingmoduletypes.ModuleName,
ugdvestingmoduletypes.ModuleName,
ugdmintmoduletypes.ModuleName,
gridnodemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/beginBlockers
Expand All @@ -172,7 +172,7 @@ var (
ibcfeetypes.ModuleName,
// chain modules
paxmoduletypes.ModuleName,
//ugdvestingmoduletypes.ModuleName,
ugdvestingmoduletypes.ModuleName,
ugdmintmoduletypes.ModuleName,
gridnodemoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/endBlockers
Expand All @@ -196,7 +196,7 @@ var (
{Account: icatypes.ModuleName},
{Account: ugdmintmoduletypes.ModuleName, Permissions: []string{authtypes.Minter}},
{Account: gridnodemoduletypes.ModuleName},
//{Account: ugdvestingmoduletypes.ModuleName},
{Account: ugdvestingmoduletypes.ModuleName},
// this line is used by starport scaffolding # stargate/app/maccPerms
}

Expand Down Expand Up @@ -331,10 +331,10 @@ var (
Name: paxmoduletypes.ModuleName,
Config: appconfig.WrapAny(&paxmodulev1.Module{}),
},
// {
// Name: ugdvestingmoduletypes.ModuleName,
// Config: appconfig.WrapAny(&ugdvestingmodulev1.Module{}),
// },
{
Name: ugdvestingmoduletypes.ModuleName,
Config: appconfig.WrapAny(&ugdvestingmodulev1.Module{}),
},
{
Name: ugdmintmoduletypes.ModuleName,
Config: appconfig.WrapAny(&ugdmintmodulev1.Module{}),
Expand Down
42 changes: 21 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ require (
cosmossdk.io/client/v2 v2.0.0-beta.1
cosmossdk.io/core v0.11.0
cosmossdk.io/depinject v1.0.0-alpha.4
cosmossdk.io/errors v1.0.0
cosmossdk.io/log v1.2.1
cosmossdk.io/store v1.0.1
cosmossdk.io/errors v1.0.1
cosmossdk.io/log v1.3.0
cosmossdk.io/store v1.0.2
cosmossdk.io/tools/confix v0.1.1
cosmossdk.io/x/circuit v0.1.0
cosmossdk.io/x/evidence v0.1.0
Expand All @@ -26,7 +26,7 @@ require (
github.com/cometbft/cometbft v0.38.2
github.com/cosmos/cosmos-db v1.0.0
github.com/cosmos/cosmos-proto v1.0.0-beta.3
github.com/cosmos/cosmos-sdk v0.50.2
github.com/cosmos/cosmos-sdk v0.50.3
github.com/cosmos/gogoproto v1.4.11
github.com/cosmos/ibc-go/modules/capability v1.0.0
github.com/cosmos/ibc-go/v8 v8.0.0
Expand All @@ -41,26 +41,26 @@ require (
github.com/unigrid-project/cosmos-common v0.0.8
github.com/unigrid-project/cosmos-gridnode v0.0.11
github.com/unigrid-project/cosmos-ugdmint v0.0.82
github.com/unigrid-project/cosmos-unigrid-hedgehog-vesting v0.0.55
google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17
google.golang.org/grpc v1.59.0
github.com/unigrid-project/cosmos-unigrid-hedgehog-vesting v0.0.56
google.golang.org/genproto/googleapis/api v0.0.0-20231120223509-83a465c0220f
google.golang.org/grpc v1.60.1
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
google.golang.org/protobuf v1.31.1-0.20231027082548-f4a6c1f6e5c1
google.golang.org/protobuf v1.32.0
)

require (
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.31.0-20231106192134-1baebb0a1518.2 // indirect
buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.31.0-20231111212044-1119bf4b707e.2 // indirect
cloud.google.com/go v0.110.9 // indirect
cloud.google.com/go/compute v1.23.2 // indirect
cloud.google.com/go v0.110.10 // indirect
cloud.google.com/go/compute v1.23.3 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.4 // indirect
cloud.google.com/go/iam v1.1.5 // indirect
cloud.google.com/go/storage v1.30.1 // indirect
connectrpc.com/connect v1.12.0 // indirect
connectrpc.com/otelconnect v0.6.0 // indirect
cosmossdk.io/collections v0.4.0 // indirect
cosmossdk.io/math v1.2.0 // indirect
cosmossdk.io/x/tx v0.12.0 // indirect
cosmossdk.io/x/tx v0.13.0 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.1 // indirect
Expand Down Expand Up @@ -142,8 +142,8 @@ require (
github.com/google/orderedcode v0.0.1 // indirect
github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/gorilla/handlers v1.5.2 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
Expand Down Expand Up @@ -210,7 +210,7 @@ require (
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/sosodev/duration v1.1.0 // indirect
github.com/sosodev/duration v1.2.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.10.0 // indirect
github.com/spf13/cast v1.5.1 // indirect
Expand Down Expand Up @@ -244,10 +244,10 @@ require (
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.15.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.143.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20231030173426-d783a09b4405 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/api v0.149.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20231211222908-989df2bf70f3 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand All @@ -259,6 +259,6 @@ require (

// replace github.com/unigrid-project/cosmos-ugdmint => /home/evan/work/cosmos-sdk-ugdmint

//replace github.com/unigrid-project/cosmos-sdk-unigrid-hedgehog-vesting => /home/evan/work/cosmos-sdk-unigrid-hedgehog-vesting
//replace github.com/unigrid-project/cosmos-sdk-unigrid-hedgehog-vesting => /home/evan/work/pax

//replace github.com/unigrid-project/cosmos-gridnode => /home/evan/work/cosmos-sdk-gridnode
replace github.com/unigrid-project/cosmos-gridnode => /home/evan/work/cosmos-sdk-gridnode
Loading

0 comments on commit 3fc53cc

Please sign in to comment.