Repository navigation
fix(platform-wallet): initialize finalized_spends in core bridge tests - #5954
Conversation
#5150 added `PlatformWalletInfo::finalized_spends`, while two test initializers in `changeset/core_bridge.rs` that landed separately on v5.2-dev do not set it, so the platform-wallet tests no longer compile. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WunYYijwZNbw3EjHtdMAHC
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
|
/skip-bots |
|
🕓 Review not started yet because the new head is waiting for the 30-minute push debounce.
Commit 17b38ca. Normal review starts when eligible; priority review starts as soon as a slot is available. |
TL;DR: Make
v5.2-devcompile again: two platform-wallet tests did not set a field that #5150 added.Detailed discussion
Internal fix with no user-facing change, so there is no user story or scenario.
After #5150 (
c9e5cd4433), the Rust workspace tests onv5.2-devfail to compile (run 44033151253):#5150 added
PlatformWalletInfo::finalized_spends; these two test initializers reachedv5.2-devwithout it. They now set it toDefault::default(), as every other initializer in the file does. Test code only.Testing
cargo clippy -p platform-wallet -p platform-wallet-storage -p platform-wallet-ffi --all-targets --all-features -- -D warnings: clean.Breaking changes
None.
Checklist
Attribution
🤖 Generated with Claude Code
https://claude.ai/code/session_01WunYYijwZNbw3EjHtdMAHC
PR Hygiene ·
17b38cars-platform-wallet(packages/rs-platform-wallet/src/changeset/core_bridge.rs) — HashEngineering or ZocoLini or llbartekll or romchornyiWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.