func InitGenesis(ctx sdk.Context, k Keeper, data types.GenesisState) []abci.ValidatorUpdate {
	if err := k.Import(ctx, data.Credits); err != nil {
		panic(err)
	}
	k.SetParams(ctx, data.Params)
	return []abci.ValidatorUpdate{}
}
InitGenesis initialize the keeper with the data from the genesis file.
package credit
import (
	sdk "github.com/cosmos/cosmos-sdk/types"
	"github.com/mesg-foundation/engine/x/credit/internal/types"
	abci "github.com/tendermint/tendermint/abci/types"
)