pub trait Spec { type STATIC: Spec; const SPEC_ID: SpecId; const IS_STATIC_CALL: bool; fn enabled(spec_id: SpecId) -> bool { ... } }
litle bit of magic. We can have child version of Spec that contains static flag enabled
static flag used in STATIC type;