Polymesh v4.1.0
Pre-release
Pre-release
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
toCounterOverflow
. (#1137) - Removed
CheckpointOverflow
,ScheduleOverflow
,CustomAssetTypeIdOverflow
,LocalCAIdOverflow
, andNumFullAgentsOverflow
in favor ofCounterOverflow
. (#1137) - Added newtypes
FundraiserId
,InstructionId
,LegId
, andVenueId
. 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
andidentity.add_investor_uniqueness_claim_v2
will throw errorInvestorUniquenessClaimNotAllowed
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
andSnapshotId
advancement points will now error withpallet_base::Error::IdSeqOverflow
on overflow. (#1127)make_multisig_signer
andjoin_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 ifAssetType::Custom
is valid. Will throw errorInvalidCustomAssetTypeId
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 >= theminimum_balance
. (#1156)Staking.withdraw_unbonded
is also updated to useminimum_balance
instead of zero. (#1156)Staking.reap_stash
now considersminimum_balance
also. (#1156)Staking.validate
can now throw errorsStashIdentityDoesNotExist
andStashIdentityNotPermissioned
. (#1156)Staking.nominate
now throwsTooManyTargets
ontargets.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 eventAgentAdded
is now emitted. - More restrict limits on secondary keys and their permissions.