Files
pezkuwi-sdk/bizinikiwi/pezframe/src
pezkuwichain a49434f838 fix: doc test compilation errors with documented ignores
Changes:
- pezframe/src/lib.rs: Fix import pezframe, add ignore with documentation
  explaining pallet macro context requirements
- pezframe-election-provider-solution-type: Add documented ignores for
  two doc tests due to circular dependency (proc-macro cannot depend on
  pezframe-support). Tests exist in pezframe-election-provider-support/src/tests.rs
- pezframe-support/Cargo.toml: Add pezsp-timestamp dev-dependency for
  inherent doc test compilation
- pezframe-support-procedural: Add documented ignore for authorize doc test
  due to circular dependency (proc-macro cannot depend on pezframe crates)
- pezkuwi-subxt: Add documented ignore for substitute_type generic pattern
  example. Bundled metadata is from Polkadot (sp_runtime paths) but SDK
  uses pezsp_runtime. Proper fix requires generating pezkuwichain metadata.

All ignores include detailed technical documentation explaining:
1. Why the test cannot compile (circular deps or metadata mismatch)
2. Where equivalent functionality is tested
3. What users should do when using the documented pattern
2026-01-25 19:21:47 +03:00
..

SDK Logo SDK Logo

pezkuwi-sdk-frame

StackExchange

pezkuwi-sdk-frame is an umbrella crate for the FRAME framework. It simplifies building FRAME pallets and runtimes by re-exporting all the necessary components for pezpallet development.

Outside the Pezkuwi SDK, pezkuwi-sdk-frame should be imported through the main Pezkuwi SDK umbrella crate.

💻 Usage

The main intended use of this crate is through Preludes, which re-export most of the components needed for pezpallet development. The available preludes are:

  • prelude: main prelude for pezpallet development, containing essential types and traits
  • testing_prelude: testing utilities and helpers for writing pezpallet tests
  • runtime::prelude: runtime-specific components for building blockchain runtimes
  • benchmarking::prelude: benchmarking components for performance testing
  • weights_prelude: components for the auto-generated weight.rs files

If you need specific dependencies that aren't included in the preludes, you can use the deps module to access all FRAME and Bizinikiwi dependencies directly. However, we strongly recommend checking the preludes and domain-specific modules first, as they provide a more organized and maintainable way to access these dependencies.

📚 Documentation

For more detailed documentation and examples, see pezkuwi_sdk_frame.