The System pallet provides low-level access to core types and cross-cutting utilities. It acts as the base layer for other pallets to interact with the Substrate framework components.
The System pallet defines the core data types used in a Substrate runtime.
It also provides several utility functions (see
Pallet) for other FRAME pallets.
In addition, it manages the storage items for extrinsics data, indexes, event records, and digest items, among other things that support the execution of the current block.
It also handles low-level tasks like depositing logs, basic set up and take down of temporary storage entries, and access to previous block hashes.
The System pallet does not implement any dispatchable functions.
Pallet struct for details of publicly available functions.
The System pallet defines the following extensions:
CheckWeight: Checks the weight and length of the block and ensure that it does not exceed the limits.
CheckNonce: Checks the nonce of the transaction. Contains a single payload of type
CheckEra: Checks the era of the transaction. Contains a single payload of type
CheckGenesis: Checks the provided genesis hash of the transaction. Must be a part of the signed payload of the transaction.
CheckSpecVersion: Checks that the runtime version is the same as the one used to sign the transaction.
CheckTxVersion: Checks that the transaction version is the same as the one used to sign the transaction.
Lookup the runtime aggregator file (e.g.
node/runtime) to see the full list of signed
extensions included in a chain.
None. i.e. unsigned transaction.
Signedorigin from the given
Ensureorigin and return the provided
spec_nameof when the last runtime upgrade happened.
orepresents an unsigned extrinsic. Returns
orepresents the root. Returns
orepresents a signed extrinsic (i.e. transaction). Returns
Okwith the account that signed the extrinsic or an
orepresents either a signed extrinsic (i.e. transaction) or the root. Returns
Okwith the account that signed the extrinsic,
Noneif it was root, or an
optioninto two constituent options, as defined by a