Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Aug 30, 2024
1 parent 9c6b79a commit 317ab8c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions ignite/pkg/chaincmd/chaincmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ const (
commandGentx = "gentx"
commandCollectGentxs = "collect-gentxs"
commandValidateGenesis = "validate"
commandExportGenssis = "export"
commandShowNodeID = "show-node-id"
commandStatus = "status"
commandTx = "tx"
commandQuery = "query"
commandUnsafeReset = "unsafe-reset-all"
commandExport = "export"
commandTendermint = "tendermint"

optionHome = "--home"
Expand Down Expand Up @@ -488,7 +488,8 @@ func (c ChainCmd) UnsafeResetCommand() step.Option {
// ExportCommand returns the command to export the state of the blockchain into a genesis file.
func (c ChainCmd) ExportCommand() step.Option {
command := []string{
commandExport,
commandGenesis,
commandExportGenssis,
}
return c.daemonCommand(command)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
authtypes "cosmossdk.io/x/auth/types"
govtypes "cosmossdk.io/x/gov/types"
"github.com/grpc-ecosystem/grpc-gateway/runtime"
"google.golang.org/grpc"
<%= if (isIBC) { %>porttypes "github.com/cosmos/ibc-go/v8/modules/core/05-port/types"
capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper"
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper"
Expand Down Expand Up @@ -127,9 +128,9 @@ func NewAppModule(
}

// RegisterServices registers a gRPC query service to respond to the module-specific gRPC queries
func (am AppModule) RegisterServices(cfg module.Configurator) {
types.RegisterMsgServer(cfg.MsgServer(), keeper.NewMsgServerImpl(am.keeper))
types.RegisterQueryServer(cfg.QueryServer(), keeper.NewQueryServerImpl(am.keeper))
func (am AppModule) RegisterServices(registrar grpc.ServiceRegistrar) {
types.RegisterMsgServer(registrar, keeper.NewMsgServerImpl(am.keeper))
types.RegisterQueryServer(registrar, keeper.NewQueryServerImpl(am.keeper))
}

// InitGenesis performs the module's genesis initialization. It returns no validator updates.
Expand Down

0 comments on commit 317ab8c

Please sign in to comment.