Skip to content

MEDIUM_1 v1.1: Upgrade the Joystream runtime to the latest Substrate version. #3487

Description

@shamil-gadelshin

We need to upgrade our runtime to the latest Substrate version.

Comments

Current plan

  1. Upgrade pallets
  • change dependencies' version
  • rename Trait to Config
  • change references to the Parity's pallets (eg.: frame_system::Trait to frame_system::Config)
  • change benchmarking syntax
  1. Change runtime
  • change dependencies' version
  • change Parity's pallets (like frame_system) - some of the changes are implemented in olympia_audit2 branch
  1. Change node
  2. Change chain-spec-builder
  3. (Optional). Upgrade pallets to the new syntax version: upgrade old macro syntax to the new one

Rough work time estimations for a single person

  1. Upgrade pallets (14 crates): (1-4 hours) x 14 crates = 2-7 days
  2. Change runtime: 2-7 days
  3. Change node: 2-7 days
  4. Change chain-spec-builder: 1-2 days
    Subtotal(without optional syntax upgrade for pallets): 7-23 days
  5. (Optional). Upgrade pallets to the new syntax version: (4-8) hours * 14 crates = 7-14 days
    Total: 14-37 days

The *->2.0.0 upgrade took 2 weeks with reviews. The 2.0.1->3.0.0 upgrade took 1 month with reviews.

┆Issue is synchronized with this Asana task by Unito

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions