v0.2.9-pre.008-fix.001

This commit is contained in:
2026-08-24 17:10:34 +02:00
parent affa18a6e9
commit 433e69272a
10 changed files with 135 additions and 47 deletions

View File

@@ -0,0 +1,59 @@
<!-- 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`.