referrerpolicy=no-referrer-when-downgrade

Type Alias frame_system::mocking::MockUncheckedExtrinsic

source ·
pub type MockUncheckedExtrinsic<T, Signature = (), Extra = ()> = UncheckedExtrinsic<<T as Config>::AccountId, <T as Config>::RuntimeCall, Signature, Extra>;
Expand description

An unchecked extrinsic type to be used in tests.

Aliased Type§

struct MockUncheckedExtrinsic<T, Signature = (), Extra = ()> {
    pub preamble: Preamble<<T as Config>::AccountId, Signature, Extra>,
    pub function: <T as Config>::RuntimeCall,
}

Fields§

§preamble: Preamble<<T as Config>::AccountId, Signature, Extra>

Information regarding the type of extrinsic this is (inherent or transaction) as well as associated extension (Extension) data if it’s a transaction and a possible signature.

§function: <T as Config>::RuntimeCall

The function that should be called.