Oof.
You should get it checked anyway, constant leg cramps especially if they're while you're sleeping can be really bad.
Or just don't cause it can also be absolutely nothing and just normal leg cramps so... up to you, really.