Skip to content

Commit

Permalink
chore: missing method with attrition variable
Browse files Browse the repository at this point in the history
  • Loading branch information
deepan95dev committed Feb 19, 2024
1 parent a8403ea commit 4e5d59e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions x/did/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import (
"fmt"
"log"

"cosmossdk.io/core/appmodule"

"github.com/cheqd/cheqd-node/x/did/client/cli"
"github.com/cheqd/cheqd-node/x/did/types"

Expand All @@ -28,12 +30,6 @@ var (
_ module.AppModuleBasic = AppModuleBasic{}
)

// IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (am AppModule) IsOnePerModuleType() {}

// IsAppModule implements the appmodule.AppModule interface.
func (am AppModule) IsAppModule() {}

// ----------------------------------------------------------------------------
// AppModuleBasic
// ----------------------------------------------------------------------------
Expand Down Expand Up @@ -108,6 +104,14 @@ type AppModule struct {
keeper keeper.Keeper
}

var _ appmodule.AppModule = AppModule{}

// IsOnePerModuleType implements the depinject.OnePerModuleType interface.
func (am AppModule) IsOnePerModuleType() {}

// IsAppModule implements the appmodule.AppModule interface.
func (am AppModule) IsAppModule() {}

func NewAppModule(cdc codec.Codec, keeper keeper.Keeper) AppModule {
return AppModule{
AppModuleBasic: NewAppModuleBasic(cdc),
Expand Down

0 comments on commit 4e5d59e

Please sign in to comment.