Commit Graph

37 Commits

Author SHA1 Message Date
pezkuwichain 31948ef8e4 fix: revert default-features changes that broke zepter checks 2026-02-10 15:44:49 +03:00
pezkuwichain 1a78351842 fix: workflow failures - cargo fmt, taplo fmt, and StakingConfig
- Update taplo.toml exclude patterns to use glob patterns for zombienet files
- Add StakingConfig to genesis_config_presets for proper era initialization
- Fix cargo fmt issues in identity-kyc pallet and pezkuwichain runtime
- Set num_cores to 2 for system teyrchains (Asset Hub + People Chain)
2026-02-10 08:03:10 +03:00
pezkuwichain 78095d125e fix: quick-checks CI failures - taplo format, zepter, umbrella
1. TOML format (taplo): 123 files reformatted using correct config
   - Command: taplo format --config .config/taplo.toml

2. Zepter feature propagation fix:
   - pezframe-support: added pezsp-timestamp/try-runtime to try-runtime feature

3. generate-umbrella.py bug fix:
   - Script crashed when Cargo.toml/src didn't exist in umbrella dir
   - Added existence checks before deletion
2026-01-26 00:39:59 +03:00
pezkuwichain 57d64eeb79 fix: remove OpenSSL dependency by migrating isahc to reqwest (rustls-tls)
This commit fixes CI failures caused by curl-sys requiring OpenSSL 3.0.0+
which is not available in the CI container image (Debian bullseye).

Changes:
- Replace isahc with reqwest (rustls-tls feature) in relay-utils
- Remove isahc from workspace dependencies
- Update reqwest to use rustls-tls and json features
- Update Cargo.lock (removes curl, curl-sys, isahc, openssl-sys, native-tls)

Benefits:
- Pure Rust TLS implementation (no OpenSSL dependency)
- More portable across different Linux distributions
- Eliminates C compilation requirements for TLS
- Better security (memory-safe TLS implementation)

Affected workflows:
- Checks / cargo-clippy
- Checks / check-try-runtime
- Docs / test-doc, build-rustdoc
- Build and push images
- tests linux stable
- tests misc
2026-01-25 14:09:46 +03:00
pezkuwichain 949cb29ba7 fix: upgrade alloy crates to 1.5.x for Rust 1.88 compatibility
- alloy-consensus: 1.0.41 → 1.5.2
- alloy-core: 1.2.1 → 1.5.2
- alloy-primitives: 1.2.1 → 1.5.2
- alloy-trie: 0.9.1 → 0.9.3

Fixes TransactionEnvelope derive macro compatibility issue with Rust 1.88.0.
Also removes unused imports in genesis_config_presets.rs.
2026-01-25 02:47:40 +03:00
pezkuwichain 956aa139b8 fix: remove version from pezkuwi-sdk path dependency 2026-01-24 23:06:23 +03:00
pezkuwichain d4e0f4ca03 fix: correct umbrella version references
- Add version.workspace = true to umbrella/Cargo.toml
- Fix pezkuwi-sdk version from 2.0.0 to 0.1.2 (matching crates.io)
2026-01-24 22:58:57 +03:00
pezkuwichain 9488461380 feat: add pezkuwi-zombienet-cli crate
- New CLI binary for network orchestration
- Spawn command with native/docker/k8s providers
- Backward compatibility: parachains -> teyrchains alias
- Backward compatibility: onboard_as_parachain alias

Successfully tested with 21-validator mainnet simulation:
- 21/21 GRANDPA votes
- Block production and finality working
- Asset Hub and People Chain teyrchains running
2026-01-21 00:25:18 +03:00
pezkuwichain 9777b4c2b1 Fix wasm32v1-none build with serde patch
- Add [patch.crates-io] for serde and serde_core pointing to pezkuwichain/serde fix-wasm32v1-none branch
- Pin alloy crate versions to prevent conflicts
- Update serde to 1.0.228

The serde patch adds target_os=none checks to handle Cargo feature unification where std feature gets enabled even on no_std targets like wasm32v1-none.
2026-01-09 17:35:51 +03:00
pezkuwichain 5a48ce4498 fix: restore dev-dependencies for clippy --all-targets --all-features
Uncomment dev-dependencies that were previously commented out to break
circular dependencies. These dependencies are needed for tests to compile
when running clippy with --all-targets --all-features.

Changes include:
- pezkuwi/node/*: Add pezkuwi-node-subsystem-test-helpers, pezkuwi-primitives-test-helpers
- pezkuwi/xcm/*: Add pezpallet-xcm, xcm-pez-simulator
- pezcumulus/client/*: Add test client, runtime, and sproof builder deps
- bizinikiwi/pezframe/*: Add bizinikiwi-test-utils, pezframe-support-test,
  pezpallet-transaction-payment, pezpallet-example-basic, etc.
- vendor/pezkuwi-zombienet-sdk: Fix imports from zombienet_sdk to pezkuwi_zombienet_sdk

All runtime-benchmarks feature flags have been updated accordingly.

cargo clippy --all-targets --all-features --workspace now passes.
2026-01-07 16:53:09 +03:00
pezkuwichain 3f7b3c4365 fix: update pezkuwi-sdk dependency to version 2.0.0 2026-01-04 18:00:35 +03:00
pezkuwichain b8990884db style: apply taplo format to all Cargo.toml files 2026-01-04 17:37:38 +03:00
pezkuwichain 479010094e fix(ci): resolve all quick-checks failures
- Remove missing cli crate from workspace members
- Fix TOML array syntax errors in pvf and benchmarking-cli Cargo.toml
- Fix Rust import ordering with cargo fmt
- Fix feature propagation with zepter (try-runtime, runtime-benchmarks, std)
2026-01-04 17:22:12 +03:00
pezkuwichain 933f08e282 fix(cargo): add default-features to pezkuwi-subxt-metadata workspace dep
This fixes the warning about default-features being ignored
when workspace = true is used in dependent crates.
2026-01-04 12:01:32 +03:00
pezkuwichain c96c2ca199 Publish crates to crates.io: FAZ 1 version bumps
Published crates:
- pezframe-support-procedural-tools 10.0.1
- pezframe-benchmarking-cli 32.0.1
- pezframe 0.1.0 (new)
- pezpallet-minimal-template 0.1.0 (new)
- pez-minimal-template-runtime 0.1.1
- pezkuwi-sdk 0.1.2
- yet-another-teyrchain-runtime 0.6.1

Updated workspace Cargo.toml version references to match published versions.
2026-01-02 12:09:24 +03:00
pezkuwichain cf463fe8ee FAZ 1 Complete: Workspace compile fixes, warning cleanup, version bumps
- Fixed is_using_frame_crate() macro to check for pezframe/pezkuwi_sdk
- Removed disable_pezframe_system_supertrait_check temporary bypasses
- Feature-gated storage-benchmark and teyrchain-benchmarks code
- Fixed dead_code warnings with underscore prefix (_Header)
- Removed unused imports and shadowing use statements
- Version bumps: procedural-tools 10.0.1, benchmarking-cli 32.0.1,
  docs 0.0.2, minimal-runtime 0.0.1, yet-another-teyrchain 0.6.1, umbrella 0.1.2
- Updated MAINNET_ROADMAP.md with FAZ 1 completion status
2026-01-02 11:41:09 +03:00
pezkuwichain e43cc3d4fb chore: update crates.io publish plan and fix dependencies
- Update CRATES_PUBLISH_PLAN.md with Level 0-2 completion status
- Fix binary-merkle-tree and related dependencies
- Add runtime_logger_tests.rs
- Update various Cargo.toml files
2025-12-28 11:00:56 +03:00
pezkuwichain 45322c4190 chore: add version to ss58-registry workspace dependency 2025-12-27 22:53:16 +03:00
pezkuwichain d3614d826e chore: add version to all 477 workspace dependencies for crates.io publish 2025-12-27 21:15:35 +03:00
pezkuwichain 13a91ae437 style: format TOML and Rust files 2025-12-26 03:41:37 +03:00
pezkuwichain ec61dca3cf fix(ci): AŞAMA 3 test düzeltmeleri
- testnet cargo profili eklendi (CI testleri için gerekli)
- tests-misc.yml: frame-feature-testing feature adı düzeltildi
- 179 UI test .stderr dosyası güncellendi (rebrand yansıması)
- ss58-registry doc testleri: ss58_registry -> pezkuwi_ss58_registry
- ss58-registry doc testleri: TokenRegistry::Dot -> TokenRegistry::Hez
- WORKFLOW_PLAN.md güncellendi (doğru CI komutları)
- 3 pezpallet UI test dosyası düzeltildi:
  - PezpalletInfo -> PalletInfo
  - PezpalletError -> PalletError

Test edildi:
- cargo check --workspace --locked --features experimental,ci-only-tests 
- cargo check --workspace --locked --features try-runtime,experimental,ci-only-tests 
- cargo check --workspace --locked --features runtime-benchmarks 
- cargo test --profile testnet -p pezkuwi-node-metrics --features=runtime-metrics 
- cargo test -p pezframe-support-test UI tests 
- cargo test --doc --workspace --all-features 
- cargo build --profile testnet -p pezkuwi-test-malus 
2025-12-25 09:44:29 +03:00
pezkuwichain 6b597bebcf fix: EnsureOrigin try_successful_origin and snowbridge rename
- Fix pezpallet-welati EnsureOrigin implementations (3 fixes)
  - Remove incorrect #[cfg(not(feature = "runtime-benchmarks"))] blocks
  - Affects EnsureSerok, EnsureParlementer, EnsureDiwan

- Fix asset-hub-zagros governance origins macros (2 fixes)
  - Remove non-benchmark try_successful_origin from decl_unit_ensures!
  - Remove non-benchmark try_successful_origin from decl_ensure!

- Rename snowbridge -> pezsnowbridge for consistency

- Update WORKFLOW_PLAN.md with build status and package names
  - Correct package names: pezkuwi-teyrchain-bin, pezstaging-node-cli
  - Mark completed builds: pezkuwi, pezkuwi-teyrchain-bin,
    pezstaging-node-cli, teyrchain-template-node
2025-12-25 01:26:18 +03:00
pezkuwichain e8c03b5c86 fix: address multiple compilation issues
- Revert thiserror to 1.0.69 (fatality 0.1.1 incompatible with 2.x)
- Fix MerkleProofError format string (Rust 2024 compatibility)
- Fix deprecated websocket::framed::WsConfig -> Config in telemetry
- Fix zombienet-sdk import: sc_chain_spec -> pezsc_chain_spec
2025-12-23 09:37:12 +03:00
pezkuwichain e585615b45 fix(security): upgrade libp2p 0.54.1 → 0.56.0 to eliminate ring 0.16.20 vulnerability
- Update libp2p from 0.54.1 to 0.56.0 in Cargo.toml
- Update libp2p-kad from 0.46.2 to 0.48.0 for compatibility
- Remove deprecated bandwidth logging (removed in libp2p 0.56)
  - transport.rs: Remove with_bandwidth_logging(), use websocket::Config
  - service.rs: Add NoBandwidthSink stub for bandwidth metrics
- Fix NetworkBehaviour derive macro changes:
  - behaviour.rs: Add From<Infallible> implementation for BehaviourOut
- Update pattern matching for new libp2p-swarm event fields:
  - request_responses.rs: Add connection_id to patterns
  - service.rs: Fix DialError::WrongPeerId field rename (endpoint → address)
  - service.rs: Add peer_id to IncomingConnectionError pattern
- Fix test file for new transport return type:
  - conformance.rs: Update transport usage

This eliminates the ring 0.16.20 security vulnerability (RUSTSEC-2024-0006)
by upgrading to ring 0.17.14 via the libp2p dependency chain.
2025-12-23 09:37:12 +03:00
pezkuwichain 30c8f91b94 refactor: zombienet-sdk rebrand and subxt compatibility fixes
Zombienet-SDK changes:
- orchestrator: sc-chain-spec → pezsc-chain-spec
- orchestrator: sp-core → pezsp-core imports
- orchestrator: k8s-openapi v1_27 → v1_28
- provider: k8s-openapi v1_27 → v1_28
- sdk: k8s-openapi v1_27 → v1_28

Subxt vendor fixes:
- Enable std features (remove default-features = false)
- Fix lifetime annotations for Rust 2024 compatibility
- Fix ecdsa/sr25519 password type conversions
- Fix RecoveryId API change (i32::from → to_i32)

Dependencies:
- wasmtime: 35.0.0 → 37.0.0 (security fix)
- tracing-subscriber: 0.3.18 → 0.3.20 (security fix)
- thiserror: 1.0.64 → 2.0.17

Note: ring 0.16.20 vulnerability remains - requires libp2p 0.56
upgrade which needs extensive pezsc-network API changes.
2025-12-23 09:37:12 +03:00
pezkuwichain 7733f074c7 security: fix wasmtime and tracing-subscriber vulnerabilities
- wasmtime: 35.0.0 → 37.0.3 (fixes GHSA-hc7m-r6v8-hg9q)
- tracing-subscriber: 0.3.18 → 0.3.20 (fixes CVE-2025-58160)

Note: ring 0.16.20 vulnerability (CVE-2025-4432) remains due to
libp2p/zombienet-sdk dependency chain. Requires vendor update.
2025-12-23 09:37:12 +03:00
pezkuwichain 49485a882c fix: Add workspace dependencies for vendored pezkuwi-subxt and zombienet-sdk
- Add all missing workspace dependencies required by vendor crates
- Include external crates: scale-*, sp-core, sc-chain-spec, kube, etc.
- Include subxt dependencies: smoldot, web-time, wasm-bindgen, etc.
- Regenerate umbrella crate with updated dependencies
- Apply zepter std feature propagation fixes to vendor crates
- Apply rustfmt formatting to vendor and pezframe files
2025-12-23 09:37:11 +03:00
pezkuwichain 70ddb6516f feat: Vendor pezkuwi-subxt and pezkuwi-zombienet-sdk into monorepo
- Add pezkuwi-subxt crates to vendor/pezkuwi-subxt
- Add pezkuwi-zombienet-sdk crates to vendor/pezkuwi-zombienet-sdk
- Convert git dependencies to path dependencies
- Add vendor crates to workspace members
- Remove test/example crates from vendor (not needed for SDK)
- Fix feature propagation issues detected by zepter
- Fix workspace inheritance for internal dependencies
- All 606 crates now in workspace
- All 6919 internal dependency links verified correct
- No git dependencies remaining
2025-12-23 09:37:11 +03:00
pezkuwichain 65b7f5e640 fix: Resolve cargo clippy errors and add CI workflow plan
## Changes

### Clippy Fixes
- Fixed deprecated `cargo_bin` usage in 27 test files (added #![allow(deprecated)])
- Fixed uninlined_format_args in zombienet-sdk-tests
- Fixed subxt API changes in revive/rpc/tests.rs (fetch signature, StorageValue)
- Fixed dead_code warnings in validator-pool and identity-kyc mocks
- Fixed field name `i` -> `_i` in tasks example

### CI Infrastructure
- Added .claude/WORKFLOW_PLAN.md for tracking CI fix progress
- Updated lychee.toml and taplo.toml configs

### Files Modified
- 27 test files with deprecated cargo_bin fix
- bizinikiwi/pezframe/revive/rpc/src/tests.rs (subxt API)
- pezkuwi/pezpallets/validator-pool/src/{mock,tests}.rs
- pezcumulus/teyrchains/pezpallets/identity-kyc/src/mock.rs
- bizinikiwi/pezframe/examples/tasks/src/tests.rs

## Status
- cargo clippy: PASSING
- Next: cargo fmt, zepter, workspace checks
2025-12-23 09:37:11 +03:00
pezkuwichain a15cc1d76c fix(revive-eth-rpc): Update to pezkuwi-subxt with pezsp_runtime support
- Add workspace exclude for vendor/pezkuwi-subxt to prevent
  workspace inheritance conflicts
- Update pezkuwi-subxt codegen to use ::pezsp_runtime::DispatchError
  directly instead of runtime_types path that doesn't exist due to
  substitute_type
- Add From implementations for various pezkuwi_subxt error types
  (EventsError, ExtrinsicError, BlockError, BackendError,
  RuntimeApiError, ConstantError, OnlineClientError)
- Update StorageApi to use StorageClientAt with new try_fetch API
- Fix RuntimeApiError pattern matching for error handling
- Update substitute_type entries to use pezkuwi_subxt paths
- Rename migration table from eth_to_substrate_blocks to
  eth_to_bizinikiwi_blocks for consistency
- Regenerate SQLX query cache for bizinikiwi table names
2025-12-19 19:39:48 +03:00
pezkuwichain 9a52edf0df Complete rebrand from Polkadot SDK to Pezkuwi SDK 2025-12-19 16:13:54 +03:00
pezkuwichain 620b0e3aa0 chore: regenerate umbrella crate, fix feature propagation 2025-12-16 11:29:20 +03:00
pezkuwichain 3139ffa25e fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs)
- pallet/ directories → pezpallet/ (4 locations)
- Fixed pezpallet.rs self-include recursion bug
- Fixed sc-chain-spec hardcoded crate name in derive macro
- Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API)
- Added BizinikiwiConfig type alias for zombienet tests
- Deleted obsolete session state files

Verified: pezsnowbridge-pezpallet-*, pezpallet-staking,
pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
2025-12-16 09:57:23 +03:00
pezkuwichain c89d7cac55 Refactoring Checkpoint: (WIP) 2025-12-14 10:29:31 +03:00
pezkuwichain 09735eb97a snapshot before rebranding 2025-12-14 07:37:21 +03:00
pezkuwichain 1c0e57d984 feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies'
Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk.

Key changes include:
- Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks.
- Modified internal documentation and code comments to reflect PezkuwiChain naming and structure.
- Replaced direct references to  with  or specific paths within the  for XCM, Pezkuwi, and other modules.
- Cleaned up deprecated  issue and PR references in various  and  files, particularly in  and  modules.
- Adjusted image and logo URLs in documentation to point to PezkuwiChain assets.
- Removed or rephrased comments related to external Polkadot/Substrate PRs and issues.

This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
2025-12-14 00:04:10 +03:00
pezkuwichain 286de54384 feat: initialize Kurdistan SDK - independent fork of Polkadot SDK 2025-12-13 15:44:15 +03:00