System

#0

Core runtime system functions

Part of Core Infrastructure: Fundamental runtime components and system functions

Filter by:
Account storage v101 → v393

Core account data including nonce, providers, and consumers.

System
AllExtrinsicsLen storage v101 → v393

Total length in bytes of all extrinsics in current block.

System
apply_authorized_upgrade call v151 → v393 #11

Apply a previously authorized runtime upgrade (any origin).

Emits: CodeUpdated, RejectedInvalidAuthorizedUpgrade Modifies: AuthorizedUpgrade, LastRuntimeUpgrade
SystemAdmin
authorize_upgrade call v151 → v393 #9

Authorize a future runtime upgrade by code hash (root only).

Emits: UpgradeAuthorized Modifies: AuthorizedUpgrade
SystemAdmin
authorize_upgrade_without_checks call v151 → v393 #10

Authorize upgrade without version validation (root only, dangerous).

Emits: UpgradeAuthorized Modifies: AuthorizedUpgrade
SystemAdmin
AuthorizedUpgrade storage v151 → v393

Pending authorized upgrade code hash.

Modified by: apply_authorized_upgrade, authorize_upgrade +1
SystemAdmin
BlockHash storage v101 → v393

Maps block numbers to their hashes.

System
BlockHashCount constant v101 → v393

Maximum number of block hashes to keep in storage.

BlockLength constant v101 → v393

Maximum length of a block in bytes.

BlockWeight storage v101 → v393

Current weight consumption for the block being built.

System
BlockWeights constant v101 → v393

Weight limits and base weights for blocks.

CallFiltered error v101 → v393 #5

This call is not allowed by the current call filter.

CodeUpdated event v101 → v393 #2

Emitted when the runtime code is updated.

Emitted by: set_code, set_code_without_checks +1 Modifies: AuthorizedUpgrade, LastRuntimeUpgrade
SystemAdmin
DbWeight constant v101 → v393

Database read/write operation weights.

Digest storage v101 → v393

Digest items for the current block.

System
EventCount storage v101 → v393

Number of events in the current block.

System
Events storage v101 → v393

Events deposited during current block execution.

System
EventTopics storage v101 → v393

Map of event topics to event indices.

System
ExecutionPhase storage v101 → v393

Current execution phase of block processing.

System
ExtrinsicCount storage v101 → v393

Total extrinsics count for the current block.

System
ExtrinsicData storage v101 → v393

Raw extrinsic data for current block by index.

System
ExtrinsicFailed event v101 → v393 #1

Emitted when an extrinsic fails during execution.

●●●●●● Infrastructure usage
System
ExtrinsicSuccess event v101 → v393 #0

Emitted when an extrinsic completes successfully.

●●●●●● Infrastructure usage
System
ExtrinsicWeightReclaimed storage v301 → v393

Weight reclaimed from current extrinsic.

System
FailedToExtractRuntimeVersion error v101 → v393 #2

The chain couldn't read version information from the new runtime code.

InherentsApplied storage v151 → v393

Whether all inherents have been applied in current block.

System
InvalidSpecName error v101 → v393 #0

The runtime upgrade has a different spec name than the current runtime.

kill_prefix call v101 → v393 #6

Remove all storage items with a given prefix (root only).

SystemAdmin
kill_storage call v101 → v393 #5

Remove storage values by key (root only).

SystemAdmin
KilledAccount event v101 → v393 #4

Emitted when an account is reaped (removed from state).

●●●○○○ Active usage
System
LastRuntimeUpgrade storage v101 → v393

Information about the last runtime upgrade.

Modified by: apply_authorized_upgrade, set_code +1
SystemAdmin
MultiBlockMigrationsOngoing error v151 → v393 #6

A multi-block migration is in progress and prevents code replacement.

NewAccount event v101 → v393 #3

Emitted when a new account is created on-chain.

●●●○○○ Active usage
System
NonDefaultComposite error v101 → v393 #3

Can't kill an account that has non-default composite data.

NonZeroRefCount error v101 → v393 #4

There are still references preventing the account from being purged.

NothingAuthorized error v151 → v393 #7

No upgrade has been authorized for application.

Number storage v101 → v393

Current block number being processed.

System
ParentHash storage v101 → v393

Hash of the previous block.

System
RejectedInvalidAuthorizedUpgrade event v301 → v393 #7

Emitted when an authorized upgrade fails validation during application.

Emitted by: apply_authorized_upgrade Modifies: AuthorizedUpgrade, LastRuntimeUpgrade
SystemAdmin
remark call v101 → v393 #0

Post data on-chain without executing any logic.

Emits: Remarked
System
remark_with_event call v101 → v393 #7

Post data on-chain and emit a Remarked event.

Emits: Remarked
System
Remarked event v101 → v393 #5

Emitted when a remark is stored on-chain.

Emitted by: remark_with_event, remark
●●○○○○ Moderate usage
System
set_code call v101 → v393 #2

Set the new runtime code with safety checks (root only).

Emits: CodeUpdated Modifies: LastRuntimeUpgrade
SystemAdmin
set_code_without_checks call v101 → v393 #3

Set runtime code without validation (root only, dangerous).

Emits: CodeUpdated Modifies: LastRuntimeUpgrade
SystemAdmin
set_heap_pages call v101 → v393 #1

Set the number of WASM heap pages (root only).

SystemAdmin
set_storage call v101 → v393 #4

Set arbitrary storage values (root only).

SystemAdmin
SpecVersionNeedsToIncrease error v101 → v393 #1

The new runtime's spec version is not higher than the current version.

SS58Prefix constant v101 → v393

SS58 address prefix for this chain.

Unauthorized error v151 → v393 #8

The provided code doesn't match the authorized upgrade.

UpgradeAuthorized event v151 → v393 #6

Emitted when a runtime upgrade is authorized for future application.

Emitted by: authorize_upgrade, authorize_upgrade_without_checks Modifies: AuthorizedUpgrade
SystemAdmin
UpgradedToTripleRefCount storage v101 → v393

Migration flag for triple reference count upgrade.

System
UpgradedToU32RefCount storage v101 → v393

Migration flag for u32 reference count upgrade.

System
Version constant v101 → v393 Changed in v393

Runtime version information including spec name, version, and APIs.

Related Pallets