Registry / other / frame-system

frame-system

JSON →
library47.0.0rscratesunverified

FRAME system module for Substrate-based blockchains.

# Cargo.toml [dependencies] frame-system = "47.0.0"
INSTALL
IMPORT
SIG · FRAME-SYSTEM
F
frame-system
otherrustv47.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Config
use frame_system::Config;

Implement the frame_system::Config trait for a Substrate runtime.

use frame_system::Config; // Define a runtime that implements frame_system::Config struct Runtime; impl Config for Runtime { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = (); type BlockLength = (); type DbWeight = (); type RuntimeOrigin = (); type RuntimeCall = (); type Nonce = u64; type Hash = sp_core::H256; type Hashing = sp_runtime::traits::BlakeTwo256; type AccountId = sp_core::sr25519::Public; type Lookup = sp_runtime::traits::IdentityLookup<Self::AccountId>; type Block = sp_runtime::generic::Block<Self::Header, Self::UncheckedExtrinsic>; type RuntimeEvent = (); type BlockHashCount = sp_runtime::generic::Era; type Version = (); type PalletInfo = (); type AccountData = (); type OnNewAccount = (); type OnKilledAccount = (); type SystemWeightInfo = (); type SS58Prefix = (); type OnSetCode = (); type MaxConsumers = sp_runtime::traits::ConstU32<16>; }
Debug
Known issues
gotchaRequires specific Substrate dependencies and feature flags; not standalone.
fix
Add frame-support, sp-runtime, sp-core, and other Substrate crates with correct features.
affects: *
Upgrade
Version history
47.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
frame-system — cargo add frame-system · libregistry