feat: initialize Kurdistan SDK - independent fork of Polkadot SDK

This commit is contained in:
2025-12-13 15:44:15 +03:00
commit e4778b4576
6838 changed files with 1847450 additions and 0 deletions
+80
View File
@@ -0,0 +1,80 @@
[package]
name = "frame-executive"
version = "28.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "FRAME executives engine"
readme = "README.md"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
aquamarine = { workspace = true }
codec = { features = ["derive"], workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
frame-try-runtime = { optional = true, workspace = true }
log = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-tracing = { workspace = true }
[dev-dependencies]
array-bytes = { workspace = true, default-features = true }
pallet-balances = { workspace = true, default-features = true }
pallet-transaction-payment = { workspace = true, default-features = true }
sp-core = { workspace = true, default-features = true }
sp-inherents = { workspace = true, default-features = true }
sp-io = { workspace = true, default-features = true }
sp-version = { workspace = true, default-features = true }
substrate-test-runtime-client = { workspace = true }
[features]
default = ["std"]
with-tracing = ["sp-tracing/with-tracing"]
std = [
"codec/std",
"frame-support/experimental",
"frame-support/std",
"frame-system/std",
"frame-try-runtime/std",
"log/std",
"pallet-balances/std",
"pallet-transaction-payment/std",
"scale-info/std",
"sp-core/std",
"sp-inherents/std",
"sp-io/std",
"sp-runtime/std",
"sp-tracing/std",
"sp-version/std",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"pallet-balances/try-runtime",
"pallet-transaction-payment/try-runtime",
"sp-runtime/try-runtime",
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"frame-try-runtime?/runtime-benchmarks",
"pallet-balances/runtime-benchmarks",
"pallet-transaction-payment/runtime-benchmarks",
"sp-inherents/runtime-benchmarks",
"sp-io/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-version/runtime-benchmarks",
"substrate-test-runtime-client/runtime-benchmarks",
]
+47
View File
@@ -0,0 +1,47 @@
# 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](https://docs.rs/frame-system/latest/frame_system/) 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`](https://docs.rs/frame-executive/latest/frame_executive/struct.Executive.html) type in its library.
### Example
`Executive` type declaration from the node template.
```rust
/// Executive: handles dispatch to the various modules.
pub type Executive = executive::Executive<
Runtime,
Block,
Context,
Runtime,
AllPalletsWithSystem,
>;
```
License: Apache-2.0
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff