Skip to content

fix(key-wallet): cap asset locks at Core's 100-input / 20 480-byte standard limits - #1191

Closed
romchornyi wants to merge 10 commits into
devfrom
fix/asset-lock-input-cap
Closed

romchornyi wants to merge 10 commits into
devfrom
fix/asset-lock-input-cap

refactor(key-wallet): gate the asset-lock size check on Option, fold …

7fad4a3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 16, 2026 in 0s

79.05% (+0.19%) compared to d35a8d6

View this Pull Request on Codecov

79.05% (+0.19%) compared to d35a8d6

Details

Codecov Report

❌ Patch coverage is 98.21216% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.05%. Comparing base (d35a8d6) to head (7fad4a3).

Files with missing lines Patch % Lines
.../wallet/managed_wallet_info/transaction_builder.rs 96.61% 11 Missing ⚠️
...c/wallet/managed_wallet_info/asset_lock_builder.rs 98.77% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1191      +/-   ##
==========================================
+ Coverage   78.86%   79.05%   +0.19%     
==========================================
  Files         304      304              
  Lines       81381    82126     +745     
==========================================
+ Hits        64178    64924     +746     
+ Misses      17203    17202       -1     
Files with missing lines Coverage Δ
...t/src/wallet/managed_wallet_info/coin_selection.rs 95.24% <100.00%> (+1.29%) ⬆️
...c/wallet/managed_wallet_info/asset_lock_builder.rs 95.06% <98.77%> (+1.24%) ⬆️
.../wallet/managed_wallet_info/transaction_builder.rs 94.57% <96.61%> (+0.45%) ⬆️

... and 7 files with indirect coverage changes