Skip to content

Upgrade to Polkadot v0.9.42

Description

This is the upgrade from polkadot-v0.9.32 to polkadot-v0.9.42 that brings several breaking changes:

Fixed errors

Will need refactoring

  • The pallet duniter-account will need to be refactored for a better integration with the new AccountData 13ab4150.
  • Some scenarios (like 9d0c7835) are now deprecated due to the refactoring of the pallet balances that adds checks and providers limiting extrinsics usage.
  • The providers, consumers, and sufficients counts need some refactoring to be better integrated with the pallet balances own new counts. 007aba57 introduces some workarounds to get the tests passing (with non blocking errors due to the providers count), but an overall spec reviewing and refactoring will be needed.

Changed (dependencies)

  • Upgraded Duniter Substrate.
  • Upgraded Duniter Subxt.

Changed

  • Updated weight files.
  • Updated tests with new Subxt API.
  • Changed Babe sealing and RPC according to Babe refactoring.
  • Updated pallet configurations according to Offences refactoring.
  • Updated xtask.

Added

  • Added DustHandle to convert the dust from pallet balances and add it to the treasury f357c9ec.

Deprecated

To discuss

  • Values setting for HoldIdentifier, FreezeIdentifier, MaxHolds, MaxFreezes, and particularly MaxSetIdSessionEntries.
Edited by Benjamin Gallois

Merge request reports