Skip to content

Commit

Permalink
Added custom message module to registers
Browse files Browse the repository at this point in the history
  • Loading branch information
devcantuaria committed May 17, 2024
1 parent 352eb46 commit ed511fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/bdjuno/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
initcmd "github.com/forbole/juno/v5/cmd/init"
parsetypes "github.com/forbole/juno/v5/cmd/parse/types"
startcmd "github.com/forbole/juno/v5/cmd/start"
"github.com/forbole/juno/v5/modules/messages"

migratecmd "github.com/forbole/bdjuno/v4/cmd/migrate"
parsecmd "github.com/forbole/bdjuno/v4/cmd/parse"

"github.com/forbole/bdjuno/v4/modules/messages"
"github.com/forbole/bdjuno/v4/types/config"

agoricapp "github.com/Agoric/agoric-sdk/golang/cosmos/app"
Expand Down
2 changes: 1 addition & 1 deletion modules/message_type/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package message_type
import (
"github.com/cosmos/cosmos-sdk/codec"
"github.com/forbole/bdjuno/v4/database"
"github.com/forbole/bdjuno/v4/modules/messages"
"github.com/forbole/juno/v5/modules"
"github.com/forbole/juno/v5/modules/messages"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions modules/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (

"github.com/cosmos/cosmos-sdk/codec"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/forbole/bdjuno/v4/modules/messages"
jmodules "github.com/forbole/juno/v5/modules"
"github.com/forbole/juno/v5/modules/messages"
"github.com/forbole/juno/v5/modules/registrar"

"github.com/forbole/bdjuno/v4/utils"
Expand Down Expand Up @@ -89,7 +89,7 @@ func (r *Registrar) BuildModules(ctx registrar.Context) jmodules.Modules {
upgradeModule := upgrade.NewModule(db, stakingModule)

return []jmodules.Module{
messages.NewModule(r.parser, cdc, ctx.Database),
messages.NewModule(r.parser, cdc, db),
telemetry.NewModule(ctx.JunoConfig),
pruning.NewModule(ctx.JunoConfig, db, ctx.Logger),

Expand Down

0 comments on commit ed511fd

Please sign in to comment.