pezkuwichain
9f4c9b4d19
style: fix formatting, regenerate umbrella, taplo format
2026-03-22 20:17:58 +03:00
pezkuwichain
f1a7a7f872
fix(security): address critical audit findings in presale and validator-pool pallets
...
presale:
- Split unbounded finalize_presale distribution into batched batch_distribute()
extrinsic (same pattern as batch_refund_failed_presale) to prevent block weight
exhaustion with many contributors
- Fix u128 overflow in calculate_reward_dynamic() by using
multiply_by_rational_with_rounding() for safe intermediate multiplication
- Fix pre-existing batch_refund test assertion (platform fee deduction was not
accounted for in expected refund amount)
validator-pool:
- Bound PoolMembers::iter() with .take(MaxPoolSize) in select_validators_for_era()
to prevent unbounded iteration in on_initialize
- Fix on_initialize weight accounting to include all DB reads/writes from
do_new_era() and select_validators_for_era() (was only counting 2 reads)
2026-03-21 15:33:25 +03:00
pezkuwichain
bd2d665c4e
fix: comprehensive feature propagation and dep:serde fixes
...
- Fix serde optional dependency issues by adding dep:serde to serde features (24 crates)
- Run zepter to propagate runtime-benchmarks, std, try-runtime, serde, experimental, with-tracing, tuples-96 features
- Regenerate umbrella crate with proper feature propagation
- Format all TOML files with taplo
This resolves check-umbrella and check-zepter CI failures.
2026-01-04 20:37:14 +03:00
pezkuwichain
5bdc1a900a
style: apply taplo format to all Cargo.toml files
2026-01-04 17:37:38 +03:00
pezkuwichain
57fef835e3
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
4666047395
chore: add Dijital Kurdistan Tech Institute to copyright headers
...
Updated 4763 files with dual copyright:
- Parity Technologies (UK) Ltd.
- Dijital Kurdistan Tech Institute
2025-12-27 21:28:36 +03:00
pezkuwichain
8c4fcb3288
chore: update documentation URLs to use workspace setting
...
Replace all docs.rs documentation URLs with documentation.workspace = true
to inherit from the workspace's docs.pezkuwichain.io URL.
2025-12-27 17:56:39 +03:00
pezkuwichain
abc4c3989b
style: Migrate to stable-only rustfmt configuration
...
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml
- Removed features: imports_granularity, wrap_comments, comment_width,
reorder_impl_items, spaces_around_ranges, binop_separator,
match_arm_blocks, trailing_semicolon, trailing_comma
- Format all 898 affected files with stable rustfmt
- Ensures long-term reliability without nightly toolchain dependency
2025-12-23 09:37:11 +03:00
pezkuwichain
3208f208c0
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
193f6b9294
chore: regenerate umbrella crate, fix feature propagation
2025-12-16 11:29:20 +03:00
pezkuwichain
90fd044766
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
0c5d19e3a0
Refactoring Checkpoint: (WIP)
2025-12-14 10:29:31 +03:00