pub trait Spec: Sized {
    type STATIC: Spec;

    const SPEC_ID: SpecId;
    const IS_STATIC_CALL: bool;
    const ASSUME_PRECOMPILE_HAS_BALANCE: bool;
    fn enabled(spec_id: SpecId) -> bool { ... }
}

Associated Types

litle bit of magic. We can have child version of Spec that contains static flag enabled

Associated Constants

static flag used in STATIC type;

Provided methods

Implementors