PolymeshAssociation / Polymesh

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

Mesh 1913/opt out of two way affirmations #1455

Closed HenriqueNogara closed 1 year ago

HenriqueNogara commented 1 year ago

This PR allows users to pre-affirm the receivement of transfers of certain tickers and custodians to pre-affirm the receivement of any transfers to a portfolio.

changelog

new features

modified logic

codecov[bot] commented 1 year ago

Codecov Report

Merging #1455 (645d552) into develop (a915992) will increase coverage by 0.20%. The diff coverage is 82.74%.

@@             Coverage Diff             @@
##           develop    #1455      +/-   ##
===========================================
+ Coverage    53.80%   54.00%   +0.20%     
===========================================
  Files          149      149              
  Lines        32443    32687     +244     
===========================================
+ Hits         17456    17654     +198     
- Misses       14987    15033      +46     
Impacted Files Coverage Δ
pallets/common/src/traits/asset.rs 0.00% <ø> (ø)
pallets/common/src/traits/portfolio.rs 0.00% <ø> (ø)
pallets/identity/src/lib.rs 22.37% <ø> (ø)
pallets/weights/src/pallet_asset.rs 3.10% <0.00%> (-0.36%) :arrow_down:
pallets/weights/src/pallet_portfolio.rs 0.00% <0.00%> (ø)
primitives/src/identity.rs 84.61% <ø> (ø)
primitives/src/identity_id.rs 79.47% <ø> (ø)
pallets/asset/src/lib.rs 81.79% <88.17%> (+0.37%) :arrow_up:
pallets/portfolio/src/lib.rs 80.62% <93.33%> (+1.67%) :arrow_up:
pallets/settlement/src/lib.rs 78.02% <93.47%> (+0.54%) :arrow_up:
... and 1 more

... and 2 files with indirect coverage changes