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:
@@ -24,7 +24,6 @@ alloy-trie = { workspace = true }
|
||||
codec = { features = ["derive", "max-encoded-len"], workspace = true }
|
||||
derive_more = { workspace = true, features = ["from", "try_into"] }
|
||||
environmental = { workspace = true }
|
||||
pez-ethereum-standards = { workspace = true }
|
||||
ethereum-types = { workspace = true, features = ["codec", "rlp", "serialize"] }
|
||||
hex-literal = { workspace = true }
|
||||
humantime-serde = { optional = true, workspace = true }
|
||||
@@ -35,9 +34,10 @@ num-bigint = { workspace = true }
|
||||
num-integer = { workspace = true }
|
||||
num-traits = { workspace = true }
|
||||
paste = { workspace = true }
|
||||
pez-ethereum-standards = { workspace = true }
|
||||
polkavm = { version = "0.29.1", default-features = false }
|
||||
polkavm-common = { version = "0.29.0", default-features = false, features = [
|
||||
"alloc",
|
||||
"alloc",
|
||||
] }
|
||||
rand = { workspace = true }
|
||||
rand_pcg = { workspace = true }
|
||||
@@ -55,11 +55,10 @@ pezframe-system = { workspace = true }
|
||||
pezpallet-revive-fixtures = { workspace = true, optional = true }
|
||||
pezpallet-revive-proc-macro = { workspace = true }
|
||||
pezpallet-revive-uapi = { workspace = true, features = [
|
||||
"precompiles-sol-interfaces",
|
||||
"scale",
|
||||
"precompiles-sol-interfaces",
|
||||
"scale",
|
||||
] }
|
||||
pezpallet-transaction-payment = { workspace = true }
|
||||
ripemd = { workspace = true }
|
||||
pezsp-api = { workspace = true }
|
||||
pezsp-arithmetic = { workspace = true }
|
||||
pezsp-consensus-aura = { workspace = true, optional = true }
|
||||
@@ -69,8 +68,10 @@ pezsp-core = { workspace = true }
|
||||
pezsp-io = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
pezsp-version = { workspace = true }
|
||||
subxt-signer = { workspace = true, optional = true, features = [
|
||||
"unstable-eth",
|
||||
ripemd = { workspace = true }
|
||||
pezkuwi-subxt-signer = { workspace = true, optional = true, features = [
|
||||
"unstable-eth",
|
||||
"subxt",
|
||||
] }
|
||||
|
||||
[dev-dependencies]
|
||||
@@ -88,88 +89,88 @@ pezpallet-proxy = { workspace = true, default-features = true }
|
||||
pezpallet-revive-fixtures = { workspace = true, default-features = true }
|
||||
pezpallet-timestamp = { workspace = true, default-features = true }
|
||||
pezpallet-utility = { workspace = true, default-features = true }
|
||||
proptest = { workspace = true }
|
||||
pezsp-keystore = { workspace = true, default-features = true }
|
||||
pezsp-state-machine = { workspace = true }
|
||||
pezsp-tracing = { workspace = true, default-features = true }
|
||||
proptest = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"alloy-consensus/serde",
|
||||
"alloy-consensus/std",
|
||||
"alloy-core/std",
|
||||
"alloy-trie/std",
|
||||
"codec/std",
|
||||
"environmental/std",
|
||||
"ethereum-types/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"humantime-serde",
|
||||
"k256?/std",
|
||||
"log/std",
|
||||
"num-bigint/std",
|
||||
"num-integer/std",
|
||||
"num-traits/std",
|
||||
"pezpallet-proxy/std",
|
||||
"pezpallet-revive-fixtures?/std",
|
||||
"pezpallet-timestamp/std",
|
||||
"pezpallet-transaction-payment/std",
|
||||
"pezpallet-utility/std",
|
||||
"polkavm-common/std",
|
||||
"polkavm/std",
|
||||
"rand/std",
|
||||
"revm/std",
|
||||
"ripemd/std",
|
||||
"rlp/std",
|
||||
"scale-info/std",
|
||||
"secp256k1/std",
|
||||
"serde/std",
|
||||
"serde_json/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-consensus-aura/std",
|
||||
"pezsp-consensus-babe/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-version/std",
|
||||
"subxt-signer",
|
||||
"alloy-consensus/serde",
|
||||
"alloy-consensus/std",
|
||||
"alloy-core/std",
|
||||
"alloy-trie/std",
|
||||
"codec/std",
|
||||
"environmental/std",
|
||||
"ethereum-types/std",
|
||||
"humantime-serde",
|
||||
"k256?/std",
|
||||
"log/std",
|
||||
"num-bigint/std",
|
||||
"num-integer/std",
|
||||
"num-traits/std",
|
||||
"pezframe-benchmarking?/std",
|
||||
"pezframe-support/std",
|
||||
"pezframe-system/std",
|
||||
"pezpallet-proxy/std",
|
||||
"pezpallet-revive-fixtures?/std",
|
||||
"pezpallet-timestamp/std",
|
||||
"pezpallet-transaction-payment/std",
|
||||
"pezpallet-utility/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-arithmetic/std",
|
||||
"pezsp-consensus-aura/std",
|
||||
"pezsp-consensus-babe/std",
|
||||
"pezsp-consensus-slots/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-keystore/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-state-machine/std",
|
||||
"pezsp-version/std",
|
||||
"polkavm-common/std",
|
||||
"polkavm/std",
|
||||
"rand/std",
|
||||
"revm/std",
|
||||
"ripemd/std",
|
||||
"rlp/std",
|
||||
"scale-info/std",
|
||||
"secp256k1/std",
|
||||
"serde/std",
|
||||
"serde_json/std",
|
||||
"pezkuwi-subxt-signer",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"k256",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-proxy/runtime-benchmarks",
|
||||
"pezpallet-revive-fixtures",
|
||||
"pezpallet-timestamp/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezpallet-utility/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-aura",
|
||||
"pezsp-consensus-aura?/runtime-benchmarks",
|
||||
"pezsp-consensus-babe",
|
||||
"pezsp-consensus-babe?/runtime-benchmarks",
|
||||
"pezsp-consensus-slots",
|
||||
"pezsp-consensus-slots?/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
"k256",
|
||||
"pezframe-benchmarking/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezframe-system/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-proxy/runtime-benchmarks",
|
||||
"pezpallet-revive-fixtures",
|
||||
"pezpallet-timestamp/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezpallet-utility/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-consensus-aura",
|
||||
"pezsp-consensus-aura?/runtime-benchmarks",
|
||||
"pezsp-consensus-babe",
|
||||
"pezsp-consensus-babe?/runtime-benchmarks",
|
||||
"pezsp-consensus-slots",
|
||||
"pezsp-consensus-slots?/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-state-machine/runtime-benchmarks",
|
||||
"pezsp-version/runtime-benchmarks",
|
||||
]
|
||||
try-runtime = [
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezpallet-proxy/try-runtime",
|
||||
"pezpallet-timestamp/try-runtime",
|
||||
"pezpallet-transaction-payment/try-runtime",
|
||||
"pezpallet-utility/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezpallet-proxy/try-runtime",
|
||||
"pezpallet-timestamp/try-runtime",
|
||||
"pezpallet-transaction-payment/try-runtime",
|
||||
"pezpallet-utility/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user