Skip to content

Commit

Permalink
chore: remove default sourcehub module
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodek committed Jan 17, 2024
1 parent ee815a3 commit 0bb87be
Show file tree
Hide file tree
Showing 38 changed files with 0 additions and 2,929 deletions.
3 changes: 0 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ import (

acpmodulekeeper "github.com/sourcenetwork/sourcehub/x/acp/keeper"
bulletinmodulekeeper "github.com/sourcenetwork/sourcehub/x/bulletin/keeper"
sourcehubmodulekeeper "github.com/sourcenetwork/sourcehub/x/sourcehub/keeper"
// this line is used by starport scaffolding # stargate/app/moduleImport

"github.com/sourcenetwork/sourcehub/docs"
Expand Down Expand Up @@ -118,7 +117,6 @@ type App struct {
ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper
ScopedICAHostKeeper capabilitykeeper.ScopedKeeper

SourcehubKeeper sourcehubmodulekeeper.Keeper
AcpKeeper acpmodulekeeper.Keeper
BulletinKeeper bulletinmodulekeeper.Keeper
// this line is used by starport scaffolding # stargate/app/keeperDeclaration
Expand Down Expand Up @@ -258,7 +256,6 @@ func New(
&app.GroupKeeper,
&app.ConsensusParamsKeeper,
&app.CircuitBreakerKeeper,
&app.SourcehubKeeper,
&app.AcpKeeper,
&app.BulletinKeeper,
// this line is used by starport scaffolding # stargate/app/keeperDefinition
Expand Down
10 changes: 0 additions & 10 deletions app/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,10 @@ import (

acpmodulev1 "github.com/sourcenetwork/sourcehub/api/sourcehub/acp/module"
bulletinmodulev1 "github.com/sourcenetwork/sourcehub/api/sourcehub/bulletin/module"
sourcehubmodulev1 "github.com/sourcenetwork/sourcehub/api/sourcehub/sourcehub/module"
_ "github.com/sourcenetwork/sourcehub/x/acp/module" // import for side-effects
acpmoduletypes "github.com/sourcenetwork/sourcehub/x/acp/types"
_ "github.com/sourcenetwork/sourcehub/x/bulletin/module" // import for side-effects
bulletinmoduletypes "github.com/sourcenetwork/sourcehub/x/bulletin/types"
_ "github.com/sourcenetwork/sourcehub/x/sourcehub/module" // import for side-effects
sourcehubmoduletypes "github.com/sourcenetwork/sourcehub/x/sourcehub/types"
// this line is used by starport scaffolding # stargate/app/moduleImport
)

Expand Down Expand Up @@ -117,7 +114,6 @@ var (
consensusparamtypes.ModuleName,
circuittypes.ModuleName,
// chain modules
sourcehubmoduletypes.ModuleName,
acpmoduletypes.ModuleName,
bulletinmoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/initGenesis
Expand All @@ -144,7 +140,6 @@ var (
icatypes.ModuleName,
ibcfeetypes.ModuleName,
// chain modules
sourcehubmoduletypes.ModuleName,
acpmoduletypes.ModuleName,
bulletinmoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/beginBlockers
Expand All @@ -165,7 +160,6 @@ var (
icatypes.ModuleName,
ibcfeetypes.ModuleName,
// chain modules
sourcehubmoduletypes.ModuleName,
acpmoduletypes.ModuleName,
bulletinmoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/endBlockers
Expand Down Expand Up @@ -317,10 +311,6 @@ var (
Name: circuittypes.ModuleName,
Config: appconfig.WrapAny(&circuitmodulev1.Module{}),
},
{
Name: sourcehubmoduletypes.ModuleName,
Config: appconfig.WrapAny(&sourcehubmodulev1.Module{}),
},
{
Name: acpmoduletypes.ModuleName,
Config: appconfig.WrapAny(&acpmodulev1.Module{}),
Expand Down
17 changes: 0 additions & 17 deletions proto/sourcehub/sourcehub/genesis.proto

This file was deleted.

12 changes: 0 additions & 12 deletions proto/sourcehub/sourcehub/module/module.proto

This file was deleted.

13 changes: 0 additions & 13 deletions proto/sourcehub/sourcehub/params.proto

This file was deleted.

30 changes: 0 additions & 30 deletions proto/sourcehub/sourcehub/query.proto

This file was deleted.

40 changes: 0 additions & 40 deletions proto/sourcehub/sourcehub/tx.proto

This file was deleted.

49 changes: 0 additions & 49 deletions testutil/keeper/sourcehub.go

This file was deleted.

53 changes: 0 additions & 53 deletions x/sourcehub/keeper/keeper.go

This file was deleted.

17 changes: 0 additions & 17 deletions x/sourcehub/keeper/msg_server.go

This file was deleted.

24 changes: 0 additions & 24 deletions x/sourcehub/keeper/msg_server_test.go

This file was deleted.

23 changes: 0 additions & 23 deletions x/sourcehub/keeper/msg_update_params.go

This file was deleted.

Loading

0 comments on commit 0bb87be

Please sign in to comment.