Polkadot v0.7.0 and Kusama CC-3

After a little chaos, Kusama is ready for the next chapter: CC-3 and at long last the governance handover.

By Gavin WoodNovember 28, 2019

After a little chaos, Kusama is ready for the next chapter: CC-3 and at long last the governance handover.

On the face of it Kusama has had probably a little less chaos than some might have been led to expect from the network which self-avowedly come into with world promising nothing but. Despite growing to be operated by 150 validators, the vast majority of which are volunteers far and wide from the community, it has, broadly speaking, remained stable. The glitches have appeared relatively minor (like finality — but not block production — halting for several hours) and temporary (like block production halting for a few minutes every several hours in recent times).

That all said, it has been instrumental in uncovering a small number of rather important issues which otherwise might have gone unnoticed: complex, dynamic systems such as Polkadot, and especially those which introduce multiple bleeding edge or research-laden technologies, will sometimes have emergent effects that are difficult to predict ahead of time. In the course of Kusama, several bugs were found and fixed, one of which was “baked in” to the underlying meta-protocol environment that Substrate provides, making it a something that could only be fixed with either a hard-fork (i.e. an abrupt change in the underlying protocol) or hard-spoon (i.e. a chain-restart with a new, fixed protocol and the old transactions/state).

In addition to the fixed issues a number of additional features have been implemented during the course of Kusama CC-2 that can be integrated much more easily with a fresh chain. These include:

  • On-chain authority discovery, allowing for authority nodes or their publicly contactable representatives to be discovered and connected to. This is the first step towards a much more directed and coherent network overlay allowing for much more efficient topology of nodes.
  • A move from bare, to prefixed, storage mappings. Previously items that formed the key/value pairs of maps in a pallet’s on-chain storage were indexed in the Merkle trie using a blob derived opaquely from the combination of the key and mapping name. This meant that they could not be efficiently enumerated en-masse. Now, the items of mappings will be prefixed with their storage item’s name, allowing for, amongst many other things, easy migration and removal.
  • A revamp of the NPoS system, including the ability for the council to easily repatriate slashed funds to stakers in the case of a known issue where there was neither malicious intent nor gross incompetence.

A such, we will be transitioning from Kusama CC-2 on to a new underlying chain, Kusama CC-3. To minimise disruption, we’ll be moving most of the state/transactional history over from CC-2 to CC-3. We’ll be resetting the number of validators down from 150 to something more sensible given that we know not all of them will make the upgrade on time. And since we really want to begin testing the social elements of Polkadot/Kusama, we will be unleashing governance and removing the get out of jail free card that is Sudo.

Unless we encounter any major roadblocks, this will all happen in the next few days, with tomorrow (my time 😜) bringing the move from CC-2 to CC-3, and the move to decentralised governance completed by the end of the weekend.

Specific timeline

This afternoon has seen the release of the final CC-2 update, v0.6.18. This fixes a number of known issues with consensus, network usage and synchronisation and also introduces some nice analytic features such as Grafana integration and profiling. All nodes, and especially validators, are encouraged to upgrade to help test the new logic.

Tonight (27th November) we will be preparing the new release v0.7.0 “Kusama CC-3” which includes the final alterations in logic and the other changes we need to see in the genesis block. We will also be updating our transaction-scraping and injection script ready for the spoon and making operational preparations for the new validator network.

On the morning of the 28th, we intend to provision boot nodes and start the CC-3 chain (in PoA mode as normal). We will then release v0.7.0, allowing everyone who wants to to connect to the latest Kusama. At this point, we will also halt the CC-2 chain with a final Sudo.

Once halted (and therefore no new transactions can arrive), we will scrape and inject everyone’s CC-2 transactions in the fresh CC-3 chain. Finally, we will enable era rotations and the transition to NPoS from PoA should happen by the end of Thursday. We will increase the validator counts modestly, but hope to have between 25 and 50 by the end of the day.

Kusama CC-3 will begin with full decentralised governance enabled (by no balance transfers). Balance transfers will be enabled just as soon as the Kusama stakeholding community decide to enable them. Sudo will be removed upon the first successful community-delivered upgrade.

For more information on Kusama, visit its website, use the network with Polkadot JS, see the code at the Polkadot Github repository, view the v0.6.18 release notes, or see the network in action over the telemetry service.

From the blog

Unifying Polkadot’s developer docs: A new chapter for builder experience

The PaperMoon team, supported by a Decentralized Futures grant, launches the Polkadot Developer Documentation Hub, a unified platform that simplifies developer onboarding and provides access to essential resources. This marks a transformative step for builders in the Polkadot ecosystem.

Building the future of decentralized marketing: A case study

Polkadot’s decentralized marketing sets the standard for Web3 growth. With OpenGov, bounties, and community tools, contributors are empowered to innovate, ensuring consistent, impactful campaigns and showcasing the potential of decentralized ecosystems.

Uplifting new voices and validators: Polkadot's path to sustainable decentralization

Decentralized Nodes and Decentralized Voices programs by the Web3 Foundation offer pathways for validators and governance participants to gain influence based on merit, helping to build a fairer, more resilient Polkadot ecosystem that aligns with the core principles of web3.

Is large-scale, high-quality Web3 education possible?

The Polkadot Blockchain Academy (PBA) is taking Web3 education to the next level with PBA-X, an online course crafted to deliver high-quality blockchain knowledge at scale. Learn how we’re preserving educational standards, fostering a global community, and creating new opportunities for learners everywhere.

Blockchain explained: A practical guide from concepts to use cases

Blockchain has grown far beyond its roots in cryptocurrency, reshaping industries from finance to healthcare. This guide walks you through the basics, benefits, and groundbreaking potential of blockchain and its impact on the future of the open internet.

Empowering the next wave of founders: Welcome to EasyA x Polkadot University

Unlock a structured path to start building on Polkadot with EasyA x Polkadot University.

Dynamic & Modular: Scaling Ambition with Agile Coretime

Polkadot’s Agile Coretime simplifies launching and scaling blockchain projects with dynamic blockspace allocation and flexible cost options. Learn how Agile Coretime makes it easier to build, launch, and scale ambitious Web3 projects.

How play-to-earn (P2E) is transforming onchain mobile sports gaming

Play-to-earn games are transforming mobile sports gaming. Learn how blockchain, NFTs, and platforms like Polkadot create new opportunities for digital asset ownership and cross-chain gameplay.

Polkadot Token 2049 and Decoded Asia 2024: A multichain ecosystem in action

At Token 2049 and Decoded Asia 2024 in Singapore, Polkadot teams and contributors showcased a multichain future for real-world applications. Key moments included Dr. Gavin Wood’s vision for digital individuality, Chrissy Hill’s regulatory insights, and announcements from emerging projects shaping the Web3 ecosystem.

What is a crypto wallet? Your all-access pass to the future web

In Web3, your wallet is your most valuable digital tool. It’s more than just a place to store, send, and receive cryptocurrencies securely—it’s your passport to the decentralized world.

July 2024: Key network metrics and insights

Welcome to your go-to source for the latest tech updates, key metrics, and discussions within Polkadot, brought to you by the Parity Success Team. This blog series covers a variety of topics, drawing insights from GitHub, project teams, and the Polkadot Forum.

Polkadot 2.0: The rebirth of a network

Polkadot 2.0 reimagines blockchain with a bold rebrand and powerful features: Agile Coretime, Async Backing, and Elastic Scaling. Step into a more flexible, faster, and scalable network. Learn about the improvements and changes that led to this next era of Polkadot.