Skip to content

Commit

Permalink
- CollectTx messageValidator fix
Browse files Browse the repository at this point in the history
- ibcsubspace reused fix
  • Loading branch information
Satchitananda committed Dec 13, 2023
1 parent b731c12 commit 085fcab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,6 @@ func initParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino
paramsKeeper.Subspace(oracletypes.ModuleName)
paramsKeeper.Subspace(coinswaptypes.ModuleName)
paramsKeeper.Subspace(auctiontypes.ModuleName)
paramsKeeper.Subspace(transfertypes.ModuleName)
paramsKeeper.Subspace(icahosttypes.SubModuleName)
paramsKeeper.Subspace(wasm.ModuleName)

Expand Down
3 changes: 2 additions & 1 deletion cmd/odind/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/cosmos/cosmos-sdk/x/crisis"
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"

odin "github.com/ODIN-PROTOCOL/odin-core/app"
"github.com/ODIN-PROTOCOL/odin-core/app/params"
Expand Down Expand Up @@ -86,7 +87,7 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
// AddGenesisDataSourceCmd(odin.DefaultNodeHome),
// AddGenesisOracleScriptCmd(odin.DefaultNodeHome),
// ),
genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, odin.DefaultNodeHome, nil),
genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, odin.DefaultNodeHome, genutiltypes.DefaultMessageValidator),
genutilcli.GenTxCmd(odin.ModuleBasics, encodingConfig.TxConfig, banktypes.GenesisBalancesIterator{}, odin.DefaultNodeHome),
genutilcli.ValidateGenesisCmd(odin.ModuleBasics),
AddGenesisAccountCmd(odin.DefaultNodeHome),
Expand Down

0 comments on commit 085fcab

Please sign in to comment.