Adds multiple unit tests; Improve controller transfer and token issuance code;
changelog
new external API
Adds the following error variant to the portfolio pallet: InvalidTransferSenderIdMatchesReceiverId;
other
In function ensure_portfolio_transfer_validity_granular, PortfolioValidityResult::receiver_is_same_portfolio will be set to true if the transfer is between different portfolios, but belong to the Identity;
Adds multiple unit tests; Improve controller transfer and token issuance code;
changelog
new external API
InvalidTransferSenderIdMatchesReceiverId
;other
ensure_portfolio_transfer_validity_granular
,PortfolioValidityResult::receiver_is_same_portfolio
will be set to true if the transfer is between different portfolios, but belong to the Identity;