pub type BoundedCallOf<T> = Bounded<<T as Config>::RuntimeCall, <T as Config>::Hashing>;

Aliased Type§

enum BoundedCallOf<T> {
    Legacy {
        hash: <<T as Config>::Hashing as Hash>::Output,
        dummy: PhantomData<<T as Config>::RuntimeCall>,
    },
    Inline(BoundedVec<u8, ConstU32<128>>),
    Lookup {
        hash: <<T as Config>::Hashing as Hash>::Output,
        len: u32,
    },
}

Variants§

§

Legacy

Fields

§hash: <<T as Config>::Hashing as Hash>::Output

A hash with no preimage length. We do not support creation of this except for transitioning from legacy state. In the future we will make this a pure Dummy item storing only the final dummy field.

§

Inline(BoundedVec<u8, ConstU32<128>>)

A an bounded Call. Its encoding must be at most 128 bytes.

§

Lookup

Fields

§hash: <<T as Config>::Hashing as Hash>::Output
§len: u32

A hash of the call together with an upper limit for its size.`