60 lines
2.3 KiB
Markdown
60 lines
2.3 KiB
Markdown
<!-- file: deltas/0.2.9/pre.008-fix.001.md -->
|
|
<!-- version: 1 -->
|
|
|
|
# Delta `0.2.9-pre.008-fix.001` — hygiène Clippy fixture Blocks
|
|
|
|
## 1. Objet
|
|
|
|
Corriger l'unique warning Clippy observé au premier gate opérateur de `pre.008`, sans modifier le contrat fonctionnel Blocks + `block_meta` + `entry`.
|
|
|
|
## 2. Preuve opérateur avant fix
|
|
|
|
```text
|
|
cargo fmt --all PASS
|
|
workspace Rust audit PASS / clean
|
|
cargo check --workspace PASS
|
|
cargo clippy --workspace --all-targets PASS + 1 warning field_reassign_with_default
|
|
Transport unit 370/370 PASS
|
|
Transport public_api 47/47 PASS
|
|
Transport release_completeness 41/41 PASS
|
|
Transport doctests 4/4 PASS
|
|
Core dependency canary 3/3 PASS
|
|
cargo test --workspace PASS
|
|
```
|
|
|
|
## 3. Correction
|
|
|
|
| Surface | Correction | Justification |
|
|
|---------------------------------------------|--------------------------------------------------------------|------------------------------------------------|
|
|
| `minimal_transaction_info()` fixture Blocks | `TransactionStatusMeta { fee: 5_000, ..Default::default() }` | supprime `clippy::field_reassign_with_default` |
|
|
| workspace version | `0.2.9-pre.8.fix.1` | signal technique du delta fix |
|
|
| `016` + `012` | preuve du gate et statut `fix.001` | traçabilité de fermeture de `pre.008` |
|
|
|
|
## 4. Non-changements
|
|
|
|
```text
|
|
aucun changement runtime N1/N2
|
|
aucun changement du filtre Blocks
|
|
aucun changement des DTOs Block/BlockMeta/Entry
|
|
aucun changement du wire protobuf
|
|
aucune dépendance/feature Cargo
|
|
aucun allow Clippy
|
|
aucun stream bidi
|
|
aucun reconnect/replay
|
|
aucun PublicNode / Config V3
|
|
```
|
|
|
|
## 5. Gate attendu
|
|
|
|
```bash
|
|
cargo fmt --all
|
|
python3 scripts/audit_rust_workspace_rules.py
|
|
cargo check --workspace
|
|
cargo clippy --workspace --all-targets
|
|
cargo test -p ksp-onchain-transport-lib
|
|
cargo test -p ksp-core-lib --test workspace_dependencies
|
|
cargo test --workspace
|
|
```
|
|
|
|
Critère de fermeture : même gate vert, cette fois sans warning `field_reassign_with_default`.
|