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.
9 lines
174 B
Rust
9 lines
174 B
Rust
//! Build script for pez-minimal-template-runtime.
|
|
|
|
fn main() {
|
|
#[cfg(feature = "std")]
|
|
{
|
|
pezkuwi_sdk::bizinikiwi_wasm_builder::WasmBuilder::build_using_defaults();
|
|
}
|
|
}
|