Polymesh v6.2.0-rc4
changelog
new features
- Allows instructions and assets to have mediators #1584
- Update example contracts to Ink! 4.3 #1569
- Add logging of Chain Extension errors for easier debugging #1569
- Add example NFT Royalty Smart Contract #1570
- Add support for CallRuntimeWithError chain_extension #1581
- Update chain extension whitelist to include common extrinsics #1606
- Add
polymesh-upgradable-ink
contract and set upgradable API hash on genesis #1606
new external API
- Adds the following storage to the asset pallet:
MandatoryMediators
#1584 - Adds the following error to the asset pallet:
NumberOfAssetMediatorsExceeded
#1584 - Adds the following extrinsics to the asset pallet:
add_mandatory_mediators
,remove_mandatory_mediators
#1584 - Adds the following storage to the settlement pallet:
InstructionMediatorsAffirmations
#1584 - Adds the following error to the settlement pallet:
CallerIsNotAMediator
,InvalidExpiryDate
,MediatorAffirmationExpired
#1584 - Adds the following extrinsics to the settlement pallet
add_instruction_with_mediators
,affirm_instruction_as_mediator
,withdraw_affirmation_as_mediator
,add_and_affirm_with_mediators
,reject_instruction_as_mediator
#1584 - Add support for CallRuntimeWithError chain_extension #1581
modified external API
- Adds
ChildDid
storage, which tracks all child identities of a given parent identity #1568 - Settlement legs transferring from different portfolios for the same identity will be rejected #1567
- Remove support for deprecated chain_extension OldCallRuntime #1581
new events
- Adds the following events to the asset pallet:
SetAssetMediators
,AssetMediatorsRemoved
#1584 - Adds the following events to the settlement pallet:
MediatorAffirmationReceived
,MediatorAffirmationWithdrawn
#1584 - Adds the
InstructionMediators
event to the settlement pallet #1610
data migration
- Initializes the
ChildDid
storage #1568