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
+21 -21
View File
@@ -23,12 +23,12 @@ num-traits = { workspace = true, default-features = true }
quick_cache = { workspace = true }
rand = { workspace = true, default-features = true }
scale-info = { features = [
"derive",
"derive",
], workspace = true, default-features = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tokio = { features = [
"rt-multi-thread",
"rt-multi-thread",
], workspace = true, default-features = true }
tracing = { workspace = true }
@@ -36,8 +36,8 @@ tracing = { workspace = true }
bp-header-pez-chain = { workspace = true, default-features = true }
bp-messages = { workspace = true, default-features = true }
bp-pezkuwi-core = { workspace = true, default-features = true }
pezbp-runtime = { workspace = true, default-features = true }
pez-finality-relay = { workspace = true }
pezbp-runtime = { workspace = true, default-features = true }
relay-utils = { workspace = true }
# Bizinikiwi Dependencies
@@ -63,22 +63,22 @@ xcm = { workspace = true, default-features = true }
default = []
test-helpers = []
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"pezsc-chain-spec/runtime-benchmarks",
"pezsc-rpc-api/runtime-benchmarks",
"pezsc-transaction-pool-api/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"xcm/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezsc-chain-spec/runtime-benchmarks",
"pezsc-rpc-api/runtime-benchmarks",
"pezsc-transaction-pool-api/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
+4 -4
View File
@@ -17,15 +17,15 @@ workspace = true
async-std = { features = ["attributes"], workspace = true }
async-trait = { workspace = true }
bp-header-pez-chain = { workspace = true, default-features = true }
pez-finality-relay = { workspace = true }
futures = { workspace = true }
num-traits = { workspace = true, default-features = true }
pez-finality-relay = { workspace = true }
relay-utils = { workspace = true }
tracing = { workspace = true }
[features]
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
]
+2 -2
View File
@@ -28,6 +28,6 @@ parking_lot = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
]
@@ -63,26 +63,26 @@ scale-info = { features = ["derive"], workspace = true }
[features]
runtime-benchmarks = [
"bp-header-pez-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"bp-relayers/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"bp-teyrchains/runtime-benchmarks",
"pez-equivocation-detector/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pez-messages-relay/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-bridge-grandpa/runtime-benchmarks",
"pezpallet-bridge-messages/runtime-benchmarks",
"pezpallet-bridge-teyrchains/runtime-benchmarks",
"pezpallet-grandpa/runtime-benchmarks",
"relay-bizinikiwi-client/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"teyrchains-relay/runtime-benchmarks",
"bp-header-pez-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"bp-relayers/runtime-benchmarks",
"bp-teyrchains/runtime-benchmarks",
"pez-equivocation-detector/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"pez-messages-relay/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-bridge-grandpa/runtime-benchmarks",
"pezpallet-bridge-messages/runtime-benchmarks",
"pezpallet-bridge-teyrchains/runtime-benchmarks",
"pezpallet-grandpa/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-trie/runtime-benchmarks",
"relay-bizinikiwi-client/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"teyrchains-relay/runtime-benchmarks",
]
+3 -3
View File
@@ -34,7 +34,7 @@ pezsp-core = { workspace = true }
[features]
runtime-benchmarks = [
"bp-messages/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"pez-finality-relay/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
]
+4 -4
View File
@@ -25,12 +25,12 @@ bp-pezkuwi-core = { workspace = true, default-features = true }
relay-bizinikiwi-client = { workspace = true }
[dev-dependencies]
relay-bizinikiwi-client = { features = ["test-helpers"], workspace = true }
pezsp-core = { workspace = true, default-features = true }
relay-bizinikiwi-client = { features = ["test-helpers"], workspace = true }
[features]
runtime-benchmarks = [
"bp-pezkuwi-core/runtime-benchmarks",
"relay-bizinikiwi-client/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"relay-bizinikiwi-client/runtime-benchmarks",
"relay-utils/runtime-benchmarks",
]
+4 -4
View File
@@ -23,8 +23,8 @@ isahc = { workspace = true }
jsonpath_lib = { workspace = true }
num-traits = { workspace = true, default-features = true }
parking_lot = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
pezsp-tracing = { workspace = true, default-features = true }
serde_json = { workspace = true, default-features = true }
sysinfo = { workspace = true }
thiserror = { workspace = true }
time = { features = ["formatting", "local-offset", "std"], workspace = true }
@@ -35,11 +35,11 @@ tracing = { workspace = true }
pezbp-runtime = { workspace = true, default-features = true }
# Bizinikiwi dependencies
prometheus-endpoint = { workspace = true, default-features = true }
pezsp-runtime = { workspace = true, default-features = true }
prometheus-endpoint = { workspace = true, default-features = true }
[features]
runtime-benchmarks = [
"pezbp-runtime/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezbp-runtime/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]