Skip to content

Polymesh v6.2.0

Compare
Choose a tag to compare
@adamdossa adamdossa released this 05 Apr 07:40
b24ce30

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

other

  • Use workspace dependencies and use new Polkadot-sdk repo for Substrate #1573

  • Fix WASM runtime builds on newer Rust compiler (target-cpu=mvp and disable sign-ext WASM extension) #1573

  • Fix the debian Rust docker image builds #1573

  • Adds staging genesis files #1621