Joystream / joystream

Joystream Monorepo
http://www.joystream.org
GNU General Public License v3.0
1.42k stars 115 forks source link

Upgrade to Nara #5063

Closed kdembler closed 6 months ago

kdembler commented 7 months ago

Nara release

This PR merges long-running nara branch into master as we're nearing the runtime upgrade of the Joystream mainnet. The runtime upgrade proposal has been approved by 1st council and is now dormant awaiting 2nd council approval - https://pioneerapp.xyz/#/proposals/preview/787. We expect the mainnet upgrade to occur on Monday 26/02 at 13 CET or 2024-02-26 12:00:00 UTC.

Runtime changelog:

Version 12.2002.0 - Nara release
Updated runtime spec_version to 2002
Update substrate version based on [v0.9.41](https://github.com/paritytech/substrate/tree/polkadot-v0.9.41) release. https://github.com/Joystream/joystream/pull/4705
Apply substrate pallet runtime migrations from v0.9.24-1 to v0.9.41
Added try-runtime command support and runtime upgrade tests.
Updated benchmarks and re-generated weights
Fix https://github.com/Joystream/joystream/issues/4745: cargo-chef build issue by renaming crate 'pallet-utility' to 'pallet-joystream-utility'
Added a new "warp-time" and "fast-block-production" cargo feature flags
Enabled creator tokens functionality
Added AMM to creator tokens pallet
Added feature to enable freezing creator tokens pallet functionality via new proposal
Changed some workging group max workers values
Changed council and election periods
Removed some privileges of content moderators such as deleting channels and videos

Alongside runtime changes, this release includes a number of supplementary changes, like CRT QN support, updated CLI, upgraded types package, etc.

mnaamani commented 7 months ago

Just a note on the failing test: https://github.com/Joystream/joystream/actions/runs/7817039504/job/21551557055#step:6:1439

The github runner is just running out of RAM to properly execute the try-runtime test. This is due to the large mainnet chain state size ~1GB