github PolymeshAssociation/Polymesh v4.1.0
Polymesh v4.1.0

latest releases: v7.0.0, v6.3.5, v6.3.4...
pre-release2 years ago

Polymesh 4.1.0 Release Notes

Release notes are with respect to changes from Polymesh 4.0.0.

Pending audit & benchmarks

changelog

modified api

  • Renamed IdSeqOverflow to CounterOverflow. (#1137)
  • Removed CheckpointOverflow, ScheduleOverflow, CustomAssetTypeIdOverflow, LocalCAIdOverflow, and NumFullAgentsOverflow in favor of CounterOverflow. (#1137)
  • Added newtypes FundraiserId, InstructionId, LegId, and VenueId. No storage changes but shows up in schema. (#1135)
  • New event asset.InvestorUniquenessClaimNotAllowed - This is thrown if an issuer tries to add an investor uniqueness claim for a ticker that has uniqueness disabled. (#1162)
  • identity.add_investor_uniqueness_claim and identity.add_investor_uniqueness_claim_v2 will throw error InvestorUniquenessClaimNotAllowed if the ticker has IU disabled. (#1162)
  • Added new extrinsic rotate_primary_key_to_secondary. (#1163)
  • Added new Item to enum AuthorizationData::RotatePrimaryKeyToSecondary(Permissions). (#1163)
  • Added new Item to enum AuthorizationType::RotatePrimaryKeyToSecondary. (#1163)

modified logic

  • PipId and SnapshotId advancement points will now error with pallet_base::Error::IdSeqOverflow on overflow. (#1127)
  • make_multisig_signer and join_identity now check that the maximum amount of secondary keys is not exceeded. (#1160)
  • asset.issue - Now correctly updates the scope balance. (#1162)
  • An InvestorUniqueness claim (both v1 and v2) is not allowed for tickers with Investor Uniqueness disabled. (#1162)
  • make_multisig_signer - Use empty permissions when adding a multisig as a secondary key. (#1164)
  • create_or_approve_proposal_as_identity, create_proposal_as_identity, approve_as_identity, reject_as_identity, accept_multisig_signer_as_identity - Add call permissions checks to make sure that secondary keys for the identity have the right permissions. (#1164)
  • asset.create_asset - Now checks if AssetType::Custom is valid. Will throw error InvalidCustomAssetTypeId if a custom asset hasn't been registered for that type id. (#1165)
  • Fixed behavior of ActivePipCount when rescheduling. (#1154)
  • Staking.{bond_extra, rebond} check that the new active amount >= the minimum_balance. (#1156)
  • Staking.withdraw_unbonded is also updated to use minimum_balance instead of zero. (#1156)
  • Staking.reap_stash now considers minimum_balance also. (#1156)
  • Staking.validate can now throw errors StashIdentityDoesNotExist and StashIdentityNotPermissioned. (#1156)
  • Staking.nominate now throws TooManyTargets on targets.len() <= MAX_NOMINATIONS. It also considers blocked validators. (#1156)
  • accept_primary_key now accepts secondary keys as the new primary key. (#1163)
  • On Asset.createAsset, the event AgentAdded is now emitted.
  • More restrict limits on secondary keys and their permissions.

new features

  • bumps spec_version to 3001 (#1170)
  • bumps transaction_version to 2 (#1170)
  • Added Bridge::remove_txs. Allows admin to remove frozen transactions permanently. (#1166)
  • Added new extrinsic rotate_primary_key_to_secondary. (#1163)

Don't miss a new Polymesh release

NewReleases is sending notifications on new releases.