Skip to content

feat(sdk): add client-side validation to state transition construction methods - #3096

Open
thepastaclaw wants to merge 21 commits into
dashpay:v4.2-devfrom
thepastaclaw:fix/validate-transfer-key-security-level-client-side
Open

feat(sdk): add client-side validation to state transition construction methods#3096
thepastaclaw wants to merge 21 commits into
dashpay:v4.2-devfrom
thepastaclaw:fix/validate-transfer-key-security-level-client-side

fix(sdk): address validation review blockers

04c9f42
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 26, 2026 in 1s

No report found to compare against

View this Pull Request on Codecov

No report found to compare against

Details

Codecov Report

❌ Patch coverage is 83.03357% with 283 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (v4.2-dev@71ed226). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ions/identity/identity_create_transition/v0/mod.rs 69.86% 69 Missing ⚠️
...dentity_create_from_addresses_transition/v0/mod.rs 81.77% 43 Missing ⚠️
...tity_credit_withdrawal_transition/v1/v0_methods.rs 38.00% 31 Missing ⚠️
...ions/identity/identity_update_transition/v0/mod.rs 89.39% 21 Missing ⚠️
...entity/identity_create_transition/v0/v0_methods.rs 74.35% 20 Missing ⚠️
...entity/identity_update_transition/v0/v0_methods.rs 85.71% 15 Missing ⚠️
...ransition/state_transitions/lockstep_assertions.rs 86.95% 15 Missing ⚠️
...unding_from_asset_lock_transition/v0/v0_methods.rs 82.19% 13 Missing ⚠️
...ntity/identity_credit_withdrawal_transition/mod.rs 87.87% 8 Missing ⚠️
...nds/address_credit_withdrawal_transition/v0/mod.rs 82.50% 7 Missing ⚠️
... and 9 more
Additional details and impacted files
@@             Coverage Diff             @@
##             v4.2-dev    #3096   +/-   ##
===========================================
  Coverage            ?   87.17%           
===========================================
  Files               ?     2637           
  Lines               ?   329276           
  Branches            ?        0           
===========================================
  Hits                ?   287040           
  Misses              ?    42236           
  Partials            ?        0           
Components Coverage Δ
dpp 87.59% <0.00%> (?)
drive 86.14% <0.00%> (?)
drive-abci 89.44% <0.00%> (?)
sdk ∅ <0.00%> (?)
dapi-client ∅ <0.00%> (?)
platform-version ∅ <0.00%> (?)
platform-value 92.20% <0.00%> (?)
platform-wallet ∅ <0.00%> (?)
drive-proof-verifier 49.55% <0.00%> (?)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.