Repository navigation
chore(deps): bump platform pin to PR #3968 latest (a844aecf) - #960
Conversation
Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 4784de03 to 4f0fd091, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; 238 other locked dependencies are untouched (grovedb and key-wallet revs move only because they are transitively pinned by platform's own Cargo.lock). Two behavior-preserving compile fixes were required: - `daily_withdrawal_limit()` now takes `reference_total_credits: Option<Credits>` instead of `Credits`, to let its v2 scheme distinguish "not yet known" from a genuine zero. The one call site already had the value in hand, so it now passes `Some(total_credits_on_platform)` -- identical behavior, no user-facing change. - `PlatformWalletError` gained `MasternodeWithdrawalUnconfirmed` (a masternode credit withdrawal broadcast but not confirmed -- may already have executed, caller must not blindly retry). Both exhaustive matches in `wallet_backend/mod.rs` are deliberately wildcard-free, so this bump forces a review here: bucketed alongside its existing siblings `TransactionBroadcastUnconfirmed` / `ShieldedSpendUnconfirmed`, which carry the same "accepted but unconfirmed, do not resubmit" semantics and already route to the generic WalletBackend / Other classification. No CHANGELOG entry -- neither fix changes observable behavior. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PR updates four platform-related git dependencies and adjusts daily withdrawal limit input and masternode withdrawal error classification. ChangesSDK and withdrawal handling updates
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR updates the platform dependency pin and applies behavior-preserving compatibility fixes; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 66.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 2 files. (1 skipped: 1 unsupported.) Full details: Title checkExplanation The title clearly identifies the main change: updating the platform dependency pin for PR
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🕓 Ready for review — next in queue (commit 0e2fed9) |
Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 4f0fd091 to 396977be, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; upstream split out two new crates (dash-async, dash-platform-macros) that come along transitively, and 238 other locked dependencies are untouched. No source changes needed -- `cargo clippy --all-features --all-targets -- -D warnings` is clean against this head, and no observable behavior changes. No CHANGELOG entry. Co-Authored-By: Claude Sonnet 5 <[email protected]>
thepastaclaw
left a comment
There was a problem hiding this comment.
Preliminary review — Codex only
The dependency pins and exhaustive handling of the new wallet error variant are sound, but the withdrawal-limit compatibility change violates the updated API contract and can display a limit different from the network's actual limit. The current credits snapshot cannot be substituted for the required day-old snapshot, and the calculation must use the active network protocol version.
Source: codex-general (backend model ID not supplied in the evidence), codex-rust-quality (backend model ID not supplied in the evidence); final verifier: Claude Agent SDK (backend model ID not supplied in the runtime context). openclaw-agent/cliproxy/gpt-5.6-sol is orchestration-only and is not reviewer evidence.
Validated blockers were found in the Codex precheck. Opus is deferred until a fresh Codex revalidation clears the blocker gate.
Review provenance
- Codex reviewers:
gpt-5.6-sol— general (completed),gpt-5.6-sol— rust-quality (completed) - Verifier:
gpt-5.6-sol— verifier - Sonnet: not run (deferred by blocker gate)
🔴 1 blocking
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.
In `src/backend_task/platform_info.rs`:
- [BLOCKING] src/backend_task/platform_info.rs:345-346: The withdrawal limit uses the wrong credits snapshot and protocol version
In the pinned dependency, `daily_withdrawal_limit` method v2 defines this argument as the total credits Platform held one day ago. This caller passes the result of `TotalCreditsInPlatform::fetch_current`, so protocol v14 calculates 15% from the current snapshot while consensus calculates it from the day-old snapshot. The call also uses `PlatformVersion::latest()`—now v14—instead of the active version available from the task's `sdk`, so a network still running v13 can be shown the v14-relative result instead of its flat 2,000 Dash limit. Use the active SDK version and the actual day-old reference. The pinned SDK exposes only the current-total query, while the historical lookup is Drive-internal; if that reference cannot be queried here, omit or mark the limit unavailable rather than substituting the current total.
| let daily_withdrawal_limit = | ||
| daily_withdrawal_limit(total_credits_on_platform, PlatformVersion::latest()) | ||
| daily_withdrawal_limit(Some(total_credits_on_platform), PlatformVersion::latest()) |
There was a problem hiding this comment.
🔴 Blocking: The withdrawal limit uses the wrong credits snapshot and protocol version
In the pinned dependency, daily_withdrawal_limit method v2 defines this argument as the total credits Platform held one day ago. This caller passes the result of TotalCreditsInPlatform::fetch_current, so protocol v14 calculates 15% from the current snapshot while consensus calculates it from the day-old snapshot. The call also uses PlatformVersion::latest()—now v14—instead of the active version available from the task's sdk, so a network still running v13 can be shown the v14-relative result instead of its flat 2,000 Dash limit. Use the active SDK version and the actual day-old reference. The pinned SDK exposes only the current-total query, while the historical lookup is Drive-internal; if that reference cannot be queried here, omit or mark the limit unavailable rather than substituting the current total.
source: ['codex']
There was a problem hiding this comment.
Acknowledged — this is display-only text (PlatformInfoTaskResult::TextResult for the "Current Withdrawals In Queue" info panel), not a value anything enforces or acts on. The mismatch you're flagging only matters during the narrow window around a v13→v14 protocol upgrade (current-total vs. day-old-total snapshot, and PlatformVersion::latest() vs. the network's actual active version), and the pinned SDK doesn't currently expose the day-old historical query needed to fix it properly (it's Drive-internal). Given the low probability and informational-only blast radius, we're accepting this gap as-is rather than holding up this dependency-pin PR for it. Leaving this open for tracking rather than resolving.
🤖 Co-authored by Claudius the Magnificent AI Agent
Moves all four dashpay/platform git dependencies -- dash-sdk,
rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage --
from 396977be to a844aecf, the current head of PR #3968
(feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just
these four crates via `cargo update -p`; grovedb and key-wallet/
key-wallet-manager move transitively with their own upstream rev bumps,
and 238 other locked dependencies are untouched.
Source fixes required by this hop:
- src/utils/parsers.rs: DriveDocumentQuery -> DocumentQuery is now a
fallible TryFrom (was an infallible Into) -- a drive query carrying
unresolved time-range provenance cannot be losslessly converted.
- src/model/dashpay.rs, src/model/dpns.rs, src/backend_task/dashpay/*.rs,
src/backend_task/identity/register_dpns_name.rs,
src/ui/contracts_documents/document_action_screen.rs,
src/backend_task/dashpay/profile.rs: DocumentV0 gained a
`contract_version: Option<u32>` field (selects per-property byte layout
for documents serialized under format 3+); all locally-built documents
set it to None, matching upstream's own bootstrap/test fixtures.
- src/backend_task/{contract,document,platform_info}.rs,
src/backend_task/identity/{discover_identities,load_identity,
load_identity_by_dpns_name,load_identity_from_wallet,
refresh_loaded_identities_dpns_names,register_dpns_name}.rs,
src/ui/tokens/view_token_claims_screen.rs: DocumentQuery gained a
`time_range_clauses: Vec<TimeRangeClause>` field for IN_TIME_RANGE
selections; every struct-literal query in this repo sets it to empty
(no IN_TIME_RANGE usage exists here yet).
- src/wallet_backend/mod.rs: new PlatformWalletError::AssetLockInsufficientFunds
variant added to both exhaustive matches (map_shielded_op_error,
identity_op_error_kind), bucketed alongside CoreInsufficientFunds as a
generic funding-shortfall WalletBackend error.
`cargo clippy --all-features --all-targets -- -D warnings` is clean against
this head. No user-observable behavior change; no CHANGELOG entry.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
…rm-pin-3968-4f0fd09 # Conflicts: # src/wallet_backend/mod.rs
thepastaclaw flagged (PR #960) that daily_withdrawal_limit's v2 algorithm wants the total credits Platform held a day ago and the network's actual active protocol version, while this call passes today's current total and PlatformVersion::latest(). Accepted as an intentional gap rather than fixed: the value is display-only (an informational text panel, nothing reads it back to gate or execute a withdrawal), the mismatch only bites during the narrow window around a protocol version upgrade, and the pinned SDK exposes no query for the day-old historical total to compute the exact figure anyway. Documents the rationale in code so it doesn't get re-flagged as an unexplained bug. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…#960) * chore(deps): bump platform pin to PR #3968 latest (4f0fd091) Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 4784de03 to 4f0fd091, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; 238 other locked dependencies are untouched (grovedb and key-wallet revs move only because they are transitively pinned by platform's own Cargo.lock). Two behavior-preserving compile fixes were required: - `daily_withdrawal_limit()` now takes `reference_total_credits: Option<Credits>` instead of `Credits`, to let its v2 scheme distinguish "not yet known" from a genuine zero. The one call site already had the value in hand, so it now passes `Some(total_credits_on_platform)` -- identical behavior, no user-facing change. - `PlatformWalletError` gained `MasternodeWithdrawalUnconfirmed` (a masternode credit withdrawal broadcast but not confirmed -- may already have executed, caller must not blindly retry). Both exhaustive matches in `wallet_backend/mod.rs` are deliberately wildcard-free, so this bump forces a review here: bucketed alongside its existing siblings `TransactionBroadcastUnconfirmed` / `ShieldedSpendUnconfirmed`, which carry the same "accepted but unconfirmed, do not resubmit" semantics and already route to the generic WalletBackend / Other classification. No CHANGELOG entry -- neither fix changes observable behavior. Co-Authored-By: Claude Sonnet 5 <[email protected]> * chore(deps): bump platform pin to PR #3968 latest (396977be) Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 4f0fd091 to 396977be, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; upstream split out two new crates (dash-async, dash-platform-macros) that come along transitively, and 238 other locked dependencies are untouched. No source changes needed -- `cargo clippy --all-features --all-targets -- -D warnings` is clean against this head, and no observable behavior changes. No CHANGELOG entry. Co-Authored-By: Claude Sonnet 5 <[email protected]> * chore(deps): bump platform pin to PR #3968 latest (a844aecf) Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 396977be to a844aecf, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; grovedb and key-wallet/ key-wallet-manager move transitively with their own upstream rev bumps, and 238 other locked dependencies are untouched. Source fixes required by this hop: - src/utils/parsers.rs: DriveDocumentQuery -> DocumentQuery is now a fallible TryFrom (was an infallible Into) -- a drive query carrying unresolved time-range provenance cannot be losslessly converted. - src/model/dashpay.rs, src/model/dpns.rs, src/backend_task/dashpay/*.rs, src/backend_task/identity/register_dpns_name.rs, src/ui/contracts_documents/document_action_screen.rs, src/backend_task/dashpay/profile.rs: DocumentV0 gained a `contract_version: Option<u32>` field (selects per-property byte layout for documents serialized under format 3+); all locally-built documents set it to None, matching upstream's own bootstrap/test fixtures. - src/backend_task/{contract,document,platform_info}.rs, src/backend_task/identity/{discover_identities,load_identity, load_identity_by_dpns_name,load_identity_from_wallet, refresh_loaded_identities_dpns_names,register_dpns_name}.rs, src/ui/tokens/view_token_claims_screen.rs: DocumentQuery gained a `time_range_clauses: Vec<TimeRangeClause>` field for IN_TIME_RANGE selections; every struct-literal query in this repo sets it to empty (no IN_TIME_RANGE usage exists here yet). - src/wallet_backend/mod.rs: new PlatformWalletError::AssetLockInsufficientFunds variant added to both exhaustive matches (map_shielded_op_error, identity_op_error_kind), bucketed alongside CoreInsufficientFunds as a generic funding-shortfall WalletBackend error. `cargo clippy --all-features --all-targets -- -D warnings` is clean against this head. No user-observable behavior change; no CHANGELOG entry. Co-Authored-By: Claude Sonnet 5 <[email protected]> * docs(wallet): note why the daily withdrawal limit uses today's total thepastaclaw flagged (PR dashpay#960) that daily_withdrawal_limit's v2 algorithm wants the total credits Platform held a day ago and the network's actual active protocol version, while this call passes today's current total and PlatformVersion::latest(). Accepted as an intentional gap rather than fixed: the value is display-only (an informational text panel, nothing reads it back to gate or execute a withdrawal), the mismatch only bites during the narrow window around a protocol version upgrade, and the pinned SDK exposes no query for the day-old historical total to compute the exact figure anyway. Documents the rationale in code so it doesn't get re-flagged as an unexplained bug. Co-Authored-By: Claude Sonnet 5 <[email protected]> --------- Co-authored-by: Lukasz Klimek <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> (cherry picked from commit 05572d6)
…iterals Upstream's dashpay#960 (platform pin -> a844aecf) added DocumentV0::contract_version, adapting its own call sites. contact_anchor.rs, messages.rs, and shielded_address.rs under src/backend_task/orchardpay/ don't exist upstream and needed the same None default at their 6 struct-literal call sites.
…to 1.98 (#968) * chore(deps): bump platform pin to PR #3968 latest (4f0fd091) Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 4784de03 to 4f0fd091, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; 238 other locked dependencies are untouched (grovedb and key-wallet revs move only because they are transitively pinned by platform's own Cargo.lock). Two behavior-preserving compile fixes were required: - `daily_withdrawal_limit()` now takes `reference_total_credits: Option<Credits>` instead of `Credits`, to let its v2 scheme distinguish "not yet known" from a genuine zero. The one call site already had the value in hand, so it now passes `Some(total_credits_on_platform)` -- identical behavior, no user-facing change. - `PlatformWalletError` gained `MasternodeWithdrawalUnconfirmed` (a masternode credit withdrawal broadcast but not confirmed -- may already have executed, caller must not blindly retry). Both exhaustive matches in `wallet_backend/mod.rs` are deliberately wildcard-free, so this bump forces a review here: bucketed alongside its existing siblings `TransactionBroadcastUnconfirmed` / `ShieldedSpendUnconfirmed`, which carry the same "accepted but unconfirmed, do not resubmit" semantics and already route to the generic WalletBackend / Other classification. No CHANGELOG entry -- neither fix changes observable behavior. Co-Authored-By: Claude Sonnet 5 <[email protected]> * chore(deps): bump platform pin to PR #3968 latest (396977be) Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 4f0fd091 to 396977be, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; upstream split out two new crates (dash-async, dash-platform-macros) that come along transitively, and 238 other locked dependencies are untouched. No source changes needed -- `cargo clippy --all-features --all-targets -- -D warnings` is clean against this head, and no observable behavior changes. No CHANGELOG entry. Co-Authored-By: Claude Sonnet 5 <[email protected]> * chore(deps): bump platform pin to PR #3968 latest (a844aecf) Moves all four dashpay/platform git dependencies -- dash-sdk, rs-sdk-trusted-context-provider, platform-wallet, platform-wallet-storage -- from 396977be to a844aecf, the current head of PR #3968 (feat/platform-wallet-storage-rehydration). Cargo.lock refreshed for just these four crates via `cargo update -p`; grovedb and key-wallet/ key-wallet-manager move transitively with their own upstream rev bumps, and 238 other locked dependencies are untouched. Source fixes required by this hop: - src/utils/parsers.rs: DriveDocumentQuery -> DocumentQuery is now a fallible TryFrom (was an infallible Into) -- a drive query carrying unresolved time-range provenance cannot be losslessly converted. - src/model/dashpay.rs, src/model/dpns.rs, src/backend_task/dashpay/*.rs, src/backend_task/identity/register_dpns_name.rs, src/ui/contracts_documents/document_action_screen.rs, src/backend_task/dashpay/profile.rs: DocumentV0 gained a `contract_version: Option<u32>` field (selects per-property byte layout for documents serialized under format 3+); all locally-built documents set it to None, matching upstream's own bootstrap/test fixtures. - src/backend_task/{contract,document,platform_info}.rs, src/backend_task/identity/{discover_identities,load_identity, load_identity_by_dpns_name,load_identity_from_wallet, refresh_loaded_identities_dpns_names,register_dpns_name}.rs, src/ui/tokens/view_token_claims_screen.rs: DocumentQuery gained a `time_range_clauses: Vec<TimeRangeClause>` field for IN_TIME_RANGE selections; every struct-literal query in this repo sets it to empty (no IN_TIME_RANGE usage exists here yet). - src/wallet_backend/mod.rs: new PlatformWalletError::AssetLockInsufficientFunds variant added to both exhaustive matches (map_shielded_op_error, identity_op_error_kind), bucketed alongside CoreInsufficientFunds as a generic funding-shortfall WalletBackend error. `cargo clippy --all-features --all-targets -- -D warnings` is clean against this head. No user-observable behavior change; no CHANGELOG entry. Co-Authored-By: Claude Sonnet 5 <[email protected]> * docs(wallet): note why the daily withdrawal limit uses today's total thepastaclaw flagged (PR #960) that daily_withdrawal_limit's v2 algorithm wants the total credits Platform held a day ago and the network's actual active protocol version, while this call passes today's current total and PlatformVersion::latest(). Accepted as an intentional gap rather than fixed: the value is display-only (an informational text panel, nothing reads it back to gate or execute a withdrawal), the mismatch only bites during the narrow window around a protocol version upgrade, and the pinned SDK exposes no query for the day-old historical total to compute the exact figure anyway. Documents the rationale in code so it doesn't get re-flagged as an unexplained bug. Co-Authored-By: Claude Sonnet 5 <[email protected]> * chore(deps): bump Rust toolchain to 1.98 Bump the `rust-toolchain.toml` pin (the single source of truth for both local and CI builds) from 1.92 to 1.98, and update every place that duplicates the number as prose or config: `Cargo.toml`'s `rust-version`, the Copilot setup workflow, CLAUDE.md, and the JIT-secret-access design note. The clippy workflow's rationale comment no longer names a version, so it cannot go stale on the next bump. Clippy 1.98 introduces three lints that `-D warnings` turns into build failures (19 errors). Fixed in place: - `unnecessary_sort_by` (7) — `sort_by` comparators replaced with `sort_by_key`. Both are stable sorts, so tie ordering is unchanged. - `collapsible_match` (6) — inner `if`s folded into match guards. Every site falls through to a no-op `_ => {}` arm, so a failed guard behaves exactly as the skipped `if` body did. - `result_large_err` (6) — annotated `#[expect]` with a reason. Each `Err` type is owned upstream (`dpp::ProtocolError`, `platform_wallet::PlatformWalletError`, `axum::Response`); boxing them would change signatures, and `bearer_auth`'s is fixed by axum's middleware contract. No behaviour changes. Cargo.lock is unaffected. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: Lukasz Klimek <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]>
TL;DR
Updates this project's pin on the upstream
dashpay/platformdevelopment branch (PR #3968,feat/platform-wallet-storage-rehydration) to its latest commit, so this repo keeps building against the most current in-progress platform-wallet work. No user-facing behavior changes.Detailed discussion
Pure dependency-pin maintenance PR, tracking a fast-moving upstream branch. Three commits, each moving the pin on the four
dashpay/platformgit dependencies (dash-sdk,rs-sdk-trusted-context-provider,platform-wallet,platform-wallet-storage) forward to the PR's head at the time:4784de03→4f0fd091— required two source fixes for upstream API drift:daily_withdrawal_limit()changed itsreference_total_creditsparameter fromCreditstoOption<Credits>.PlatformWalletErrorgained aMasternodeWithdrawalUnconfirmed { .. }variant, added to the two exhaustive matches insrc/wallet_backend/mod.rs(bucketed as a generic "broadcast accepted, execution unconfirmed — do not resubmit" case, same asTransactionBroadcastUnconfirmed).4f0fd091→396977be— pin-only, no source changes needed; upstream head at that point built clean.396977be→a844aecf(current) — required source fixes across a wider surface:DriveDocumentQuery → DocumentQueryconversion changed from an infallibleIntoto a fallibleTryFrom(a drive query carrying unresolved time-range provenance can no longer be losslessly converted) —src/utils/parsers.rs.DocumentV0gained acontract_version: Option<u32>field (selects per-property byte layout for documents serialized under wire format 3+). Every locally-constructed document in this repo now sets it toNone, matching upstream's own bootstrap/test fixtures — 12 call sites acrosssrc/model/{dashpay,dpns}.rs,src/backend_task/dashpay/*.rs,src/backend_task/identity/register_dpns_name.rs,src/ui/contracts_documents/document_action_screen.rs.DocumentQuerygained atime_range_clauses: Vec<TimeRangeClause>field (forIN_TIME_RANGEselections). No query in this repo uses that feature yet, so every struct-literal query sets it to empty — 14 call sites acrosssrc/backend_task/{contract,document,platform_info}.rs, severalsrc/backend_task/identity/*.rsfiles,src/ui/tokens/view_token_claims_screen.rs.PlatformWalletErrorgained anAssetLockInsufficientFunds { available, required }variant, added to both exhaustive matches insrc/wallet_backend/mod.rs, bucketed alongsideCoreInsufficientFundsas a generic funding-shortfall error.Cargo.lockwas refreshed viacargo update -p dash-sdk -p rs-sdk-trusted-context-provider -p platform-wallet -p platform-wallet-storageafter each pin change — only these four crates and their direct transitive movers (grovedb,key-wallet/key-wallet-managerwhen upstream bumped those refs too) changed; the other ~238 locked dependencies are untouched.Also merged in
origin/v1.0-dev(PR #961'sTransactionBroadcastUnconfirmedreclassification), resolving one overlapping conflict insrc/wallet_backend/mod.rsby keeping this PR'sMasternodeWithdrawalUnconfirmed/AssetLockInsufficientFundsadditions in the generic bucket alongside upstream's new dedicatedConfirmationUnknownpath.A follow-up commit documents, in code, why
format_withdrawal_documents_with_daily_limitintentionally passes today's current credits total andPlatformVersion::latest()rather than the day-old total and the network's actual active version thatdaily_withdrawal_limit's v2 algorithm technically wants (flagged by review — see thread) — accepted as a known gap: the value is display-only, the mismatch only bites in the narrow window around a protocol upgrade, and the pinned SDK has no query for the historical day-old total anyway.cargo fmt --allandcargo clippy --all-features --all-targets -- -D warningsare clean against the final head (a844aecf776077da8a6df1c39bb58e99140c40c3).No
CHANGELOG.mdentry — consistent with this repo's established convention that behavior-preserving pin bumps against this branch don't get one (see e.g.ac2e5835d); none of the fixes here change any user-observable behavior, only internal API surface adaptation.Testing
cargo fmt --all— clean.cargo clippy --all-features --all-targets -- -D warnings— clean.🤖 Co-authored by Claudius the Magnificent AI Agent