requireProductionCeremony static method
Throws SchemeNotImplemented if scheme is not production-ready for ceremonies.
Implementation
static void requireProductionCeremony(
SchemeId scheme,
ThresholdCeremonyKind ceremony,
) {
if (!supports(scheme, ceremony)) {
throw SchemeNotImplemented(
'Ceremony $ceremony is not implemented for $scheme '
'(milestone: ${milestone(scheme).name})',
);
}
}