Closed HenriqueNogara closed 1 year ago
Merging #1455 (645d552) into develop (a915992) will increase coverage by
0.20%
. The diff coverage is82.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 |
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
exempt_ticker_affirmation
,remove_ticker_affirmation_exemption
,pre_approve_ticker
,remove_ticker_pre_approval
;pre_approve_portfolio
,remove_portfolio_pre_approval
;modified logic
add_instruction
checks for pre-approved tickers/portfolios;