mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
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:
1 parent
a0f04820ab
commit
3208f208c0
1387 files changed
+16564
-178629
No files matched your search
@@ -1,7 +1,7 @@
|
||||
[book]
|
||||
authors = [
|
||||
"Kurdistan Tech Institute <info@pezkuwichain.io>",
|
||||
"Parity Technologies <admin@parity.io>",
|
||||
"Kurdistan Tech Institute <info@pezkuwichain.io>",
|
||||
"Parity Technologies <admin@parity.io>",
|
||||
]
|
||||
language = "en"
|
||||
multilingual = false
|
||||
|
||||
@@ -12,9 +12,9 @@ name = "two-phase-inclusion"
|
||||
label = "Two-phase inclusion of teyrchain candidates"
|
||||
requires = ["phase-0"]
|
||||
items = [
|
||||
{ label = "Buffer submitted teyrchain candidate until considered available." },
|
||||
{ label = "Validators submit signed bitfields re: availability of teyrchains" },
|
||||
{ label = "relay chain fully includes candidate once considered available" },
|
||||
{ label = "Buffer submitted teyrchain candidate until considered available." },
|
||||
{ label = "Validators submit signed bitfields re: availability of teyrchains" },
|
||||
{ label = "relay chain fully includes candidate once considered available" },
|
||||
]
|
||||
|
||||
[[group]]
|
||||
@@ -22,9 +22,9 @@ name = "secondary-checking"
|
||||
label = "Secondary checks and self-selection by validators"
|
||||
requires = ["two-phase-inclusion"]
|
||||
items = [
|
||||
{ label = "Extract #VCheck for all checkable candidates" },
|
||||
{ label = "Listen for new reports on candidates and new checks to update frontier" },
|
||||
{ label = "Maintain a frontier of candidates that are likely to be checked soon" },
|
||||
{ label = "Extract #VCheck for all checkable candidates" },
|
||||
{ label = "Listen for new reports on candidates and new checks to update frontier" },
|
||||
{ label = "Maintain a frontier of candidates that are likely to be checked soon" },
|
||||
]
|
||||
|
||||
[[group]]
|
||||
@@ -32,21 +32,21 @@ name = "runtime-availability-validity-slashing"
|
||||
label = "Availability and Validity slashing in the runtime"
|
||||
requires = ["two-phase-inclusion"]
|
||||
items = [
|
||||
{ label = "Submit secondary checks to runtime", port = "submitsecondary", requires = [
|
||||
"secondary-checking",
|
||||
] },
|
||||
{ label = "Track all candidates within the slash period as well as their session" },
|
||||
{ label = "Track reports and attestations for candidates" },
|
||||
{ label = "Submit secondary checks to runtime", port = "submitsecondary", requires = [
|
||||
"secondary-checking",
|
||||
] },
|
||||
{ label = "Track all candidates within the slash period as well as their session" },
|
||||
{ label = "Track reports and attestations for candidates" },
|
||||
]
|
||||
|
||||
[[group]]
|
||||
name = "non-direct-ancestor"
|
||||
label = "Allow candidates with non-direct ancestor"
|
||||
items = [
|
||||
{ label = "Block author can provide minimally-attested candidate with older relay parent" },
|
||||
{ label = "Extend GlobalValidationData with random seed and session index" },
|
||||
{ label = "Revise availability-store pruning to ensure only needed data is kept" },
|
||||
{ label = "Runtime can accept and process candidates with older relay-parent" },
|
||||
{ label = "Block author can provide minimally-attested candidate with older relay parent" },
|
||||
{ label = "Extend GlobalValidationData with random seed and session index" },
|
||||
{ label = "Revise availability-store pruning to ensure only needed data is kept" },
|
||||
{ label = "Runtime can accept and process candidates with older relay-parent" },
|
||||
]
|
||||
|
||||
[[group]]
|
||||
@@ -54,17 +54,17 @@ name = "grandpa-voting-rule"
|
||||
label = "GRANDPA voting rule to follow valid/available chains"
|
||||
requires = ["runtime-availability-validity-slashing"]
|
||||
items = [
|
||||
{ label = "Accept new blocks on abandoned but mark them abandoned as well." },
|
||||
{ label = "Add a utility to flag a block and all of its ancestors as abandoned" },
|
||||
{ label = "Do not vote or build on abandoned chains" },
|
||||
{ label = "Accept new blocks on abandoned but mark them abandoned as well." },
|
||||
{ label = "Add a utility to flag a block and all of its ancestors as abandoned" },
|
||||
{ label = "Do not vote or build on abandoned chains" },
|
||||
]
|
||||
|
||||
[[group]]
|
||||
name = "phase-1"
|
||||
label = "Phase 1: Availability and Validity"
|
||||
requires = [
|
||||
"grandpa-voting-rule",
|
||||
"non-direct-ancestor",
|
||||
"runtime-availability-validity-slashing",
|
||||
"grandpa-voting-rule",
|
||||
"non-direct-ancestor",
|
||||
"runtime-availability-validity-slashing",
|
||||
]
|
||||
items = []
|
||||
Reference in new issue
Block a user