PolymeshAssociation / Polymesh

Node for Polymesh Blockchain
https://polymesh.network/
GNU General Public License v3.0
162 stars 49 forks source link

Mesh 2108/settlement improvements #1536

Closed HenriqueNogara closed 11 months ago

HenriqueNogara commented 11 months ago

Adds new extrinsics that allow users to pass the number of assets on the sender/receiver side being sent from portfolios to calculate the fee in advance.

changelog

new features

modified API

modified logic

codecov[bot] commented 11 months ago

Codecov Report

Merging #1536 (9c48b57) into develop (612bda0) will increase coverage by 0.35%. The diff coverage is 89.47%.

@@             Coverage Diff             @@
##           develop    #1536      +/-   ##
===========================================
+ Coverage    58.31%   58.66%   +0.35%     
===========================================
  Files          142      142              
  Lines        31505    31873     +368     
===========================================
+ Hits         18372    18699     +327     
- Misses       13133    13174      +41     
Files Coverage Δ
pallets/runtime/develop/src/runtime.rs 3.65% <ø> (ø)
pallets/sto/src/lib.rs 50.21% <100.00%> (+0.10%) :arrow_up:
pallets/weights/src/pallet_settlement.rs 63.81% <100.00%> (+8.52%) :arrow_up:
primitives/src/settlement.rs 82.27% <93.22%> (+1.30%) :arrow_up:
pallets/runtime/common/src/runtime.rs 1.75% <0.00%> (-0.04%) :arrow_down:
pallets/common/src/traits/settlement.rs 40.93% <85.36%> (+40.93%) :arrow_up:
pallets/settlement/src/lib.rs 75.99% <90.66%> (+1.76%) :arrow_up:

... and 3 files with indirect coverage changes