How was the Mekalel given the death penalty if the punishment wasn’t known?
…Sekila -stoning (which is the most severe death according to Rabanan ). Going like the opinion Sanhedrin 80b מותרה לדבר חמור הוי מותרה לדבר קל (one who is warned a a more severe punishment [death by stoning] can still receive a lesser punishment…user15464 · miyodeya · CC BY-SA 4.0