func InitGenesis(ctx sdk.Context, k keeper.Keeper, createLocalhost bool, gs *types.GenesisState) {
	client.InitGenesis(ctx, k.ClientKeeper, gs.ClientGenesis)
	packet.InitGenesis(ctx, k.PacketKeeper, gs.PacketGenesis)
	routing.InitGenesis(ctx, k.RoutingKeeper, gs.RoutingGenesis)
}
InitGenesis initializes the tibc state from a provided genesis
state.
package tibc
import (
	sdk "github.com/cosmos/cosmos-sdk/types"
	client "github.com/bianjieai/tibc-go/modules/tibc/core/02-client"
	packet "github.com/bianjieai/tibc-go/modules/tibc/core/04-packet"
	routing "github.com/bianjieai/tibc-go/modules/tibc/core/26-routing"
	"github.com/bianjieai/tibc-go/modules/tibc/core/keeper"
	"github.com/bianjieai/tibc-go/modules/tibc/core/types"
)