75 releases (45 major breaking)

new 47.0.0 May 3, 2026
46.0.0 Mar 28, 2026
45.0.1 Jan 22, 2026
45.0.0 Dec 18, 2025
2.0.0-alpha.5 Mar 24, 2020

#1 in #executive

Download history 4704/week @ 2026-01-11 7089/week @ 2026-01-18 7089/week @ 2026-01-25 9061/week @ 2026-02-01 7159/week @ 2026-02-08 9719/week @ 2026-02-15 9201/week @ 2026-02-22 7343/week @ 2026-03-01 9984/week @ 2026-03-08 7285/week @ 2026-03-15 7962/week @ 2026-03-22 10316/week @ 2026-03-29 10587/week @ 2026-04-05 11072/week @ 2026-04-12 9001/week @ 2026-04-19 7461/week @ 2026-04-26

39,233 downloads per month
Used in 142 crates (39 directly)

Apache-2.0

3.5MB
54K SLoC

Executive Module

The Executive module acts as the orchestration layer for the runtime. It dispatches incoming extrinsic calls to the respective modules in the runtime.

Overview

The executive module is not a typical pallet providing functionality around a specific feature. It is a cross-cutting framework component for the FRAME. It works in conjunction with the FRAME System module to perform these cross-cutting functions.

The Executive module provides functions to:

  • Check transaction validity.
  • Initialize a block.
  • Apply extrinsics.
  • Execute a block.
  • Finalize a block.
  • Start an off-chain worker.

Implementations

The Executive module provides the following implementations:

  • Executive: Type that can be used to make the FRAME available from the runtime.

Usage

The default Substrate node template declares the Executive type in its library.

Example

Executive type declaration from the node template.

/// Executive: handles dispatch to the various modules.
pub type Executive = executive::Executive<
    Runtime,
    Block,
    Context,
    Runtime,
    AllPalletsWithSystem,
>;

License: Apache-2.0

Dependencies

~28–41MB
~696K SLoC