Polymesh v8.0.0
New features
-
Confidential Assets Pallet (Polymesh DART): Privacy-preserving transfers of digital assets.
- Confidential account key management
- Confidential asset creation and management with auditor/mediator support
- Confidential settlement and affirmation to provide sender/receiver and asset ID privacy
- Private fee payment to protect sender/receiver privacy when submitting settlement creation or affirmation transactions
-
Revive Pallet
- Solidity Smart Contracts
- EVM wallet support
-
Replaced CDD claim checks with DID existence checks
- CDD claims are no longer needed for onboarding.
Modified External API
-
Use
AssetHoldertype instead ofPortfolioIdfor settlements (To better support keys holding assets directly). -
System Pallet:
- New Extrinsics:
authorize_upgrade,authorize_upgrade_without_checks,apply_authorized_upgrade - New Events:
UpgradeAuthorized,RejectedInvalidAuthorizedUpgrade - Modified Events:
ExtrinsicSuccess,ExtrinsicFailed - New Storage:
AuthorizedUpgrade,ExtrinsicWeightReclaimed,InherentsApplied,BlockSize,BlocksTillUpgrade - Modified Storage:
Account(changeAccountDatatoAccountData<u128>) - Removed Storage:
AllExtrinsicsLen
- New Extrinsics:
-
Babe Pallet:
- Modified Extrinsics:
report_equivocation,report_equivocation_unsigned - Modified Storage:
Authorities,NextAuthorities(change in thePublictype),Initialized - New Constant:
MaxNominators
- Modified Extrinsics:
-
Indices Pallet:
- New Extrinsics:
poke_deposit - New Events:
DepositPoked
- New Extrinsics:
-
Balances Pallet:
- New Extrinsics:
upgrade_accounts,force_set_balance,force_adjust_total_issuance,burn,transfer_allow_death,transfer_keep_alive,force_unreserve,transfer_all - Removed Extrinsics:
transfer,deposit_block_reward_reserve_balance,set_balance,burn_account_balance - New Events:
DustLost,Deposit,Withdraw,Slashed,Minted,Burned,Suspended,Restored,Upgraded,Issued,Rescinded,Locked,Unlocked,Frozen,Thawed,TotalIssuanceForced,TransferWithMemo,BurnedDebt,MintedCredit,Held,BurnedHeld,TransferOnHold,TransferAndHold,Released,Unexpected - Removed Events:
AccountBalanceBurned - Modified Events:
Endowed,Transfer,BalanceSet - New Storage:
Account,Freezes,Holds,InactiveIssuance,Reserves - Modified Storage:
Locks(change fromVectoWeakBoundedVec),Holds(change in theRuntimeHoldReasonenum) - New Constants:
MaxFreezes,MaxLocks,MaxReserves
- New Extrinsics:
-
TransactionPayment Pallet:
- Removed Extrinsics:
set_disable_fees - New Constants:
OperationalFeeMultiplier - Removed Constants:
TransactionByteFee,WeightToFeeConst - New Storage:
TxPaymentCredit
- Removed Extrinsics:
-
Identity Pallet:
- Modified Extrinsics:
accept_primary_key,rotate_primary_key_to_secondary - New Extrinsics:
register_did,self_register_did - Removed Extrinsics:
invalidate_cdd_claims,change_cdd_requirement_for_mk_rotation,create_child_identity,create_child_identities,unlink_child_identity - New Events:
AssetDidRegistered,AuthorizationAdded - Removed Events:
CddRequirementForPrimaryKeyUpdated,CddClaimsInvalidated,ChildDidCreated,ChildDidUnlinked - New constant:
MaxAuthRetries - Removed Storage:
CddAuthForPrimaryKeyRotation,ChildDid,CurrentPayer,ParentDid
- Modified Extrinsics:
-
Staking Pallet:
- New Extrinsics:
payout_stakers_by_page,update_payee,deprecate_controller_batch,restore_ledger,migrate_currency,manual_slash - Modified Extrinsics:
bond,set_controller,set_staking_configs,chill_other - Removed Extrinsics:
add_permissioned_validator,remove_permissioned_validator,payout_stakers_by_system,change_slashing_allowed_for,set_commission_cap,update_permissioned_validator_intended_count,chill_from_governance - New Events:
SnapshotVotersSizeExceeded,SnapshotTargetsSizeExceeded,ControllerBatchDeprecated,CurrencyMigrated - Modified Events:
Rewarded,Bonded,Unbonded,PayoutStarted - Removed Events:
Nominated,PermissionedIdentityAdded,PermissionedIdentityRemoved,InvalidatedNominators,SlashingAllowedForChanged,RewardPaymentSchedulingInterrupted,CommissionCapUpdated - New Storage:
ClaimedRewards,CounterForVirtualStakers,ErasStakersOverview,ErasStakersPaged,MaxStakedRewards,VirtualStakers - Removed Storage:
OffendingValidators,PermissionedIdentity,PolymeshStorageVersion,SlashingAllowedFor,ValidatorCommissionCap - New Constants:
MaxExposurePageSize - Removed Constants:
FixedYearlyReward,MaxNominations,MaxNominatorRewardedPerValidator,MaxValidatorPerIdentity,MaxVariableInflationTotalIssuance
- New Extrinsics:
-
Offences Pallet:
- Removed Storage:
ReportsByKindIndex
- Removed Storage:
-
Session Pallet:
- Modified Extrinsics:
set_keys - New Events:
ValidatorDisabled,ValidatorReenabled,NewQueued - Modified Storage:
DisabledValidators,NextKeys,QueuedKeys - New Constant:
KeyDeposit
- Modified Extrinsics:
-
Grandpa Pallet:
- New constants:
MaxNominators - New storage:
Authorities
- New constants:
-
Historical Pallet:
- New events:
RootStored,RootsPruned - New Storage:
HistoricalSessions,StoredRange
- New events:
-
Asset Pallet:
- Modified Extrinsic:
issue,redeem,controller_transfer - New Extrinsic:
transfer_asset,receiver_affirm_asset_transfer,reject_asset_transfer,approve - Modified Events:
ControllerTransfer,AssetBalanceUpdated, - New Events:
CreatedAssetTransfer,Approval - New Storage:
Allowances,AssetBalance,LockedBalance
- Modified Extrinsic:
-
Pips Pallet:
- Modified Extrinsic:
snapshot
- Modified Extrinsic:
-
Portfolio Pallet:
- Modified Storage:
PortfolioNFT
- Modified Storage:
-
I'm online Pallet:
- Modified storage:
ReceivedHeartbeats
- Modified storage:
-
Scheduler Pallet:
- New Extrinsics:
set_retry,set_retry_named,cancel_retry,cancel_retry_named - New Events:
RetrySet,RetryCancelled,AgendaIncompleteRetryFailed - Modified Storage:
Agenda - New Storage:
Retries
- New Extrinsics:
-
Settlement Pallet:
- Modified Extrinsics:
create_venue,affirm_with_receipts,update_venue_signers,execute_manual_instruction,add_instruction,add_and_affirm_instruction,affirm_instruction,
reject_instruction,affirm_with_receipts_with_count,affirm_instruction_with_count,add_instruction_with_mediators,add_and_affirm_with_mediators - New Extrinsics:
set_mandatory_receiver_affirmation,transfer_funds,unlock_instruction - Removed Extrinsics:
withdraw_affirmation,withdraw_affirmation_with_count,withdraw_affirmation_as_mediator - Modified Events:
InstructionAffirmed,AffirmationWithdrawn,VenueSignersUpdated,InstructionAutomaticallyAffirmed, - Removed Events:
SchedulingFailed,InstructionRescheduled - New Events:
MandatoryReceiverAffirmationSet,InstructionUnlocked,FundsTransferred - New Constants:
MaxNumberOfAssetHolders,MaxRelockCount,RelockCooldown - Removed Constants:
MaxNumberOfPortfolios - Modified Storage:
AffirmsReceived,InstructionLegs,UserAffirmations - New Storage:
InstructionRelockCount,MandatoryReceiverAffirmation,UnlockedTimestamp,
- Modified Extrinsics:
-
Utility Pallet:
- Removed Extrinsic:
relay_tx - Removed Event:
RelayedTx
- Removed Extrinsic:
-
Relayer Pallet:
- New Storage:
PendingSubsidies,RelayTxNonces - New Extrinsic:
approve_subsidy,relay_tx,revoke_subsidy,accept_subsidy,remove_subsidy - Removed Extrinsic:
set_paying_key,accept_paying_key,remove_paying_key - New Events:
ApprovedSubsidy,AcceptedSubsidy,RemovedSubsidy,RemovedPendingSubsidy,SubsidyDebited,RelayedTx - Modified Events:
UpdatedPolyxLimit, - New Storage:
PendingSubsidies,RelayTxNonces
- New Storage:
-
Contracts Pallet:
- Modified Extrinsics:
call_old_weight,instantiate_with_code_old_weight,instantiate_old_weight - New Extrinsics:
migrate - Modified Events:
CodeStored,CodeRemoved,Called - New Events:
StorageDepositTransferredAndHeld,StorageDepositTransferredAndReleased - New Constants:
ApiVersion,CodeHashLockupDepositPercent,DefaultDepositLimit,Environment,MaxDelegateDependencies,MaxTransientStorageSize, - Removed Constants:
DeletionQueueDepth,DeletionWeightLimit - Removed Storage:
CodeStorage,OwnerInfoOf - New Storage:
CodeInfoOf,DeletionQueueCounter,MigrationInProgress
- Modified Extrinsics:
-
Preimage Pallet:
- New Extrinsics:
ensure_updated - Modified Storage:
StatusFor - New Storage:
RequestStatusFor
- New Extrinsics:
-
ElectionProviderMultiPhase Pallet:
- Modified Extrinsic:
governance_fallback - New Constants:
MinerMaxWinners - Removed Constants:
BetterUnsignedThreshold,MaxElectableTargets,MaxElectingVoters,SignedDepositBase,SignedPhase,UnsignedPhase - Modified Storage:
QueuedSolution,Snapshot
- Modified Extrinsic:
-
PolymeshContracts Pallet:
- Removed extrinsics:
instantiate_with_code_as_primary_key,instantiate_with_hash_as_primary_key
- Removed extrinsics:
-
NFT Pallet:
- Modified Extrinsic:
issue_nft,redeem_nft,controller_transfer, - New Extrinsic:
transfer_nft - Removed Events:
NFTPortfolioUpdated, - New Events:
NFTHoldingsUpdated - Removed Storage:
NFTHolder - New Storage:
NFTHolder,Owner
- Modified Extrinsic:
Other New Pallets
- Pallets to support light clients and bridges:
- Beefy
- Mmr
- MmrLeaf
- MultiBlockMigrations
- Validators:
- Some extrinsics and events that used to be on the Staking pallet can be found here:
- extrinsics:
add_permissioned_validator,remove_permissioned_validator,validate_cdd_expiry_nominators,payout_stakers_by_system,change_slashing_allowed_for,update_permissioned_validator_intended_count,chill_from_governance, andset_commission_cap - events:
Nominated,PermissionedIdentityAdded,PermissionedIdentityRemoved,InvalidatedNominators,SlashingAllowedForChanged,RewardPaymentSchedulingInterrupted, andCommissionCapUpdated
- extrinsics:
- Some extrinsics and events that used to be on the Staking pallet can be found here:
Full Changelog: v7.4.0...v8.0.0