github PolymeshAssociation/Polymesh v2.5.0
Polymesh Alcyone Testnet V2.5.0

latest releases: v6.2.1, v6.2.0, v6.1.3...
3 years ago

Alcyone 2.5.0 Release Notes

modified api

  • affirm_instruction, withdraw_affirmation, reject_instruction, and affirm_with_receipts extrinsics of settlement pallet now takes one more parameter, max_legs_count - the no. of legs in which the sender portfolio is authorizing the transaction. (#855) (#856)
  • HistoricalVoting RPC Definitions fixed in Schema. (#851)
  • Portfolio RPCs removed. The storage can be queried directly for those. (#851)
  • committee::RawOrigin is now a zero sized type (ZST) and simplified. (#857)
  • close extrinsic of Committee pallet was removed. Closed event and errors CloseBeforeVoteEnd and NotAllowed are removed as a result. (#857)
  • Struct/definition of PolymeshVotes used in Committee pallet has changed. (#857)
  • Removed the unused IssueAssetItem from the schema and code. (#898)
  • Checkpoint.timestamps now is a double map Ticker -> CheckpointId -> Moment instead of just a map CheckpointId -> Moment. This fixes a bug. Existing storage is nuked on chain upgrade per discussion. (#899)
  • Checkpoint.{total_supply_at, balance_at_checkpoint, balance_updates, schedule_ref_count, and schedule_points} are now also double maps. (#899)
  • ScheduleSpec now takes remaining which denotes the number of CPs that can be made before the schedule expires. remaining == 0 means the schedule will never expire. The movement from remaining: 1 -> 0 triggers expiry. The schema is changed for this type. StoredSchedule receives the same change. A schema change + storage migration follows suit. (#882)

new features

  • Receipt issuers for settlement can now invalidate and revalidate their receipts (#878)
  • New error Multisig::Error::<T>::TooManySigners: Number of signers is greater than pending number of signer in remove_multisig_signers_via_creator function. (#887)
  • Utility to create a list of transactions that require Asset/Portfolio permissions (#894)
  • Adds a new event FundraiserWindowModifed (#903)
  • Adds a new fundraiser status ClosedEarly (#903)
  • New function added asset::controller_transfer() which allows the PIA to force transfer tokens. Correspondingly, a new event, ControllerTransfer is added. (#879)
  • Emit FundraiserClosed event when fundraisers are stopped (#903)
  • added distributeALCY.js script (#874)

modified logic

  • The hard limit of 10 legs per instruction is removed. You can now add as many instructions as the block gas/weight limit allows. (#905)
  • TXs are sorted by (priority, insertion_id). Previously TXs were sorted by (priority, valid_till, insertion_id) (#893)
  • Priority of a TX is its tip and only operational TX can contains a tip != 0. (#893)
  • A minimum of 1 POLYX must be locked when bonding for staking. (#910)
  • Checkpoint schedules now store reference counts from CAs rather than removability. As a result, CACheckpoint::Schedule now stores the number of CPs belonging to a schedule before attachment. Schema changes + migration follow suit. (#882)
  • Legs of a settlement instruction are now executed in order. (#873)

internal

  • Integer underflow bug fix in pallets/multisig/src/lib.rs via remove_multisig_signers_via_creator (#887)
  • Minimum investment amount is now checked correctly against the payment tokens instead of the offering token. (#869)
  • Accounted for price_divisor when checking for max price. (#869)
  • No longer checks that the sender is an asset holder since 0 amount transfers are allowed. (#869)
  • The close extrinsic in the Committee pallet now works in the develop chain as a result of changing the value of the MotionDuration parameter from 0 to 1. (#771)

Don't miss a new Polymesh release

NewReleases is sending notifications on new releases.