mirror of
https://github.com/pezkuwichain/pez-minimal-template.git
synced 2026-04-21 23:47:57 +00:00
4abe236ff2
This commit implements a comprehensive rebrand from polkadot-sdk to pezkuwi-sdk following the terminology mapping: - Polkadot → Pezkuwi - Substrate → Bizinikiwi - Frame → Pezframe - Pallet → Pezpallet - sp- → pezsp- - sc- → pezsc- ## Changes Made: ### Root Cargo.toml - Added [patch.crates-io] section mapping all pez* packages to pezkuwi-sdk fork - Updated workspace dependencies to use pez-prefixed names - Renamed pallets → pezpallets in workspace members ### Pezpallet Template (/pezpallets/template/) - Renamed package to `pezpallet-minimal-template` - Updated to use pezkuwi-sdk with pezframe_support - Changed struct from `Pallet<T>` to `Pezpallet<T>` - Updated macro usage to `#[pezkuwi_sdk::pezframe_support::pezpallet]` ### Runtime (/runtime/) - Renamed package to `pez-minimal-template-runtime` - Updated all dependencies to use pezkuwi-sdk features - Rebranded runtime construction with `#[frame_construct_runtime]` - Changed pallet references to use `Pezpallet<Runtime>` types - Updated attribute from `pallet_index` to `pezpallet_index` - Added pezsp-api feature requirement - Fixed API signatures for LazyBlock types (pezkuwi-sdk fork requirement) ### Node (/node/) - Renamed package to `pez-minimal-template-node` - Updated all imports to use pezsc-* and pezsp-* modules - Fixed build.rs to use `bizinikiwi_build_script_utils` ## Remaining Issues (3-4 errors): - `RUNTIME_API_VERSIONS` not being generated by impl_runtime_apis! macro - Runtime module visibility issues with `pub use runtime::*` - These appear to be macro expansion issues specific to pezkuwi-sdk fork internals ## Build Status: - Workspace structure: ✓ Complete - Dependencies: ✓ Configured - Pezpallet template: ✓ Compiles - Runtime: ⚠️ 3-4 macro-related errors remaining - Node: ⏳ Blocked by runtime errors The rebrand is functionally complete with only deep macro expansion issues remaining that require fork-specific knowledge or working examples.
31 lines
980 B
TOML
31 lines
980 B
TOML
[package]
|
|
name = "pez-minimal-template-runtime"
|
|
description = "A solochain runtime template built with Bizinikiwi, part of Pezkuwi SDK."
|
|
version = "0.1.0"
|
|
license = "Unlicense"
|
|
authors.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
edition.workspace = true
|
|
publish = false
|
|
|
|
[dependencies]
|
|
codec = { workspace = true }
|
|
pezpallet-minimal-template.workspace = true
|
|
pezkuwi-sdk = { workspace = true, features = ["pezpallet-balances", "pezpallet-sudo", "pezpallet-timestamp", "pezpallet-transaction-payment", "pezpallet-transaction-payment-rpc-runtime-api", "runtime", "pezsp-api"] }
|
|
scale-info = { workspace = true }
|
|
serde_json = { workspace = true, default-features = false, features = ["alloc"] }
|
|
|
|
[build-dependencies]
|
|
pezkuwi-sdk = { optional = true, workspace = true, features = ["bizinikiwi-wasm-builder"] }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"codec/std",
|
|
"pezpallet-minimal-template/std",
|
|
"pezkuwi-sdk/std",
|
|
"scale-info/std",
|
|
"serde_json/std",
|
|
]
|