func DefaultGenesisState(stakingFuncManager StakingFuncManager) GenesisState {
	return GenesisState{
		GenTxs:             []json.RawMessage{},
		stakingFuncManager: stakingFuncManager,
	}
}
DefaultGenesisState returns the genutil module's default genesis state.
package types
import (
	"encoding/json"
	"errors"
	"fmt"
	"github.com/KuChainNetwork/kuchain/chain/client/txutil"
	"github.com/cosmos/cosmos-sdk/codec"
	tmos "github.com/tendermint/tendermint/libs/os"
	tmtypes "github.com/tendermint/tendermint/types"
)
type GenesisState struct {
	GenTxs []json.RawMessage `json:"gentxs" yaml:"gentxs"`
	stakingFuncManager StakingFuncManager
}
func NewGenesisState(genTxs []json.RawMessage) GenesisState {
	if len(genTxs) == 0 {
		genTxs = make([]json.RawMessage, 0)
	}
	return GenesisState{
		GenTxs: genTxs,
	}
}