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
This commit is contained in:
2025-12-22 16:36:14 +03:00
parent 8acf59c6aa
commit 65b7f5e640
1393 changed files with 17834 additions and 179151 deletions
+18 -18
View File
@@ -33,24 +33,24 @@ pezsp-std = { workspace = true }
[features]
default = ["std"]
std = [
"binary-merkle-tree/std",
"pezbp-runtime/std",
"codec/std",
"pezframe-support/std",
"pezpallet-beefy-mmr/std",
"pezpallet-mmr/std",
"scale-info/std",
"serde/std",
"pezsp-consensus-beefy/std",
"pezsp-runtime/std",
"pezsp-std/std",
"binary-merkle-tree/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezpallet-beefy-mmr/std",
"pezpallet-mmr/std",
"pezsp-consensus-beefy/std",
"pezsp-runtime/std",
"pezsp-std/std",
"scale-info/std",
"serde/std",
]
runtime-benchmarks = [
"binary-merkle-tree/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezpallet-beefy-mmr/runtime-benchmarks",
"pezpallet-mmr/runtime-benchmarks",
"pezsp-consensus-beefy/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"binary-merkle-tree/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezpallet-beefy-mmr/runtime-benchmarks",
"pezpallet-mmr/runtime-benchmarks",
"pezsp-consensus-beefy/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
+15 -15
View File
@@ -36,21 +36,21 @@ hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"pezbp-runtime/std",
"codec/std",
"finality-grandpa/std",
"pezframe-support/std",
"scale-info/std",
"serde/std",
"pezsp-consensus-grandpa/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"codec/std",
"finality-grandpa/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-consensus-grandpa/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"scale-info/std",
"serde/std",
]
runtime-benchmarks = [
"pezbp-runtime/runtime-benchmarks",
"bp-test-utils/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"bp-test-utils/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
+13 -13
View File
@@ -34,19 +34,19 @@ hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"bp-header-pez-chain/std",
"pezbp-runtime/std",
"codec/std",
"pezframe-support/std",
"scale-info/std",
"serde/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-std/std",
"bp-header-pez-chain/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-std/std",
"scale-info/std",
"serde/std",
]
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
]
+16 -16
View File
@@ -16,7 +16,7 @@ workspace = true
codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { optional = true, features = [
"derive",
"derive",
], workspace = true, default-features = true }
# Bridge Dependencies
@@ -36,21 +36,21 @@ hex = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"bp-messages/std",
"pezbp-runtime/std",
"codec/std",
"pezframe-support/std",
"pezframe-system/std",
"scale-info/std",
"serde",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"bp-messages/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezframe-system/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"scale-info/std",
"serde",
]
runtime-benchmarks = [
"bp-messages/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
+20 -20
View File
@@ -19,8 +19,8 @@ scale-info = { features = ["bit-vec", "derive"], workspace = true }
# Bridge Dependencies
bp-header-pez-chain = { workspace = true }
bp-messages = { workspace = true }
pezbp-runtime = { workspace = true }
bp-teyrchains = { workspace = true }
pezbp-runtime = { workspace = true }
# Bizinikiwi Dependencies
pezframe-support = { workspace = true }
@@ -35,25 +35,25 @@ hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"bp-header-pez-chain/std",
"bp-messages/std",
"pezbp-runtime/std",
"bp-teyrchains/std",
"codec/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-utility/std",
"scale-info/std",
"pezsp-runtime/std",
"pezsp-std/std",
"bp-header-pez-chain/std",
"bp-messages/std",
"bp-teyrchains/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-utility/std",
"pezsp-runtime/std",
"pezsp-std/std",
"scale-info/std",
]
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"bp-teyrchains/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-teyrchains/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
+21 -21
View File
@@ -38,28 +38,28 @@ hex-literal = { workspace = true, default-features = true }
[features]
default = ["std"]
std = [
"codec/std",
"pezframe-support/std",
"pezframe-system/std",
"hash-db/std",
"num-traits/std",
"scale-info/std",
"serde/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-runtime/std",
"pezsp-state-machine/std",
"pezsp-std/std",
"pezsp-trie/std",
"tracing/std",
"trie-db/std",
"codec/std",
"hash-db/std",
"num-traits/std",
"pezframe-support/std",
"pezframe-system/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-runtime/std",
"pezsp-state-machine/std",
"pezsp-std/std",
"pezsp-trie/std",
"scale-info/std",
"serde/std",
"tracing/std",
"trie-db/std",
]
test-helpers = []
runtime-benchmarks = [
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-state-machine/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-state-machine/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
]
+21 -21
View File
@@ -15,11 +15,11 @@ workspace = true
[dependencies]
bp-header-pez-chain = { workspace = true }
bp-pezkuwi-core = { workspace = true }
pezbp-runtime = { features = ["test-helpers"], workspace = true }
bp-teyrchains = { workspace = true }
codec = { workspace = true }
ed25519-dalek = { workspace = true }
finality-grandpa = { workspace = true }
pezbp-runtime = { features = ["test-helpers"], workspace = true }
pezsp-application-crypto = { workspace = true }
pezsp-consensus-grandpa = { workspace = true }
pezsp-core = { workspace = true }
@@ -30,26 +30,26 @@ pezsp-trie = { workspace = true }
[features]
default = ["std"]
std = [
"bp-header-pez-chain/std",
"bp-pezkuwi-core/std",
"pezbp-runtime/std",
"bp-teyrchains/std",
"codec/std",
"ed25519-dalek/std",
"finality-grandpa/std",
"pezsp-application-crypto/std",
"pezsp-consensus-grandpa/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"pezsp-trie/std",
"bp-header-pez-chain/std",
"bp-pezkuwi-core/std",
"bp-teyrchains/std",
"codec/std",
"ed25519-dalek/std",
"finality-grandpa/std",
"pezbp-runtime/std",
"pezsp-application-crypto/std",
"pezsp-consensus-grandpa/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"pezsp-trie/std",
]
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"bp-teyrchains/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"bp-teyrchains/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
]
+14 -14
View File
@@ -31,20 +31,20 @@ pezsp-std = { workspace = true }
[features]
default = ["std"]
std = [
"bp-header-pez-chain/std",
"bp-pezkuwi-core/std",
"pezbp-runtime/std",
"codec/std",
"pezframe-support/std",
"scale-info/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"bp-header-pez-chain/std",
"bp-pezkuwi-core/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-std/std",
"scale-info/std",
]
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
@@ -26,13 +26,13 @@ xcm = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"pezsp-core/std",
"pezsp-runtime/std",
"xcm/std",
"codec/std",
"pezsp-core/std",
"pezsp-runtime/std",
"scale-info/std",
"xcm/std",
]
runtime-benchmarks = [
"pezsp-runtime/runtime-benchmarks",
"xcm/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
+15 -15
View File
@@ -33,21 +33,21 @@ xcm = { workspace = true }
[features]
default = ["std"]
std = [
"bp-messages/std",
"pezbp-runtime/std",
"codec/std",
"pezframe-support/std",
"scale-info/std",
"serde/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-std/std",
"xcm/std",
"bp-messages/std",
"codec/std",
"pezbp-runtime/std",
"pezframe-support/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-std/std",
"scale-info/std",
"serde/std",
"xcm/std",
]
runtime-benchmarks = [
"bp-messages/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"xcm/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"xcm/runtime-benchmarks",
]