Polkassembly Logo

Create Pencil IconCreate
OpenGov

Notice: Polkadot has migrated to AssetHub. Balances, data, referenda, and other on-chain activity has moved to AssetHub.Learn more

View All Big Spender
Discussion#1894
Referendum#146

KAGOME – the C++ implementation of Polkadot Host milestone 2

inBig Spender
2 years ago
Rejected

Image
KAGOME is a C++ implementation of the Polkadot Host that is protocol compatible with the original implementation in Rust and can already be used to run Relay chain validators and syncing nodes. With KAGOME and other client implementations we bring client diversity to Polkadot, mitigating risks of fatal bugs in a single client implementation, bringing innovations and broadening the development community. You may watch the most recent presentation during Polkadot Decoded 2023 to learn more about KAGOME.

During previous work as part of Kusama treasury grant, the following results were achieved:

  • Parachains protocol integration
  • Light clients compatibility
  • Support for fast and warp synchronizations
  • Multithreading execution

In addition to features that were planned during the previous proposal our team achieved the following:

  • First non-Substrate Live validator on Westend network
  • Zombienet support
  • Improved performance of Erasure coding library
  • KAGOME joined Thousand Kusama validators programme

The goals of this proposal are to prepare KAGOME for the upcoming features of Polkadot, such as asynchronous backing, SASSAFRAS, BEEFY, and so on. We also plan to further improve KAGOME by improving RPC and WASM performance. Additionally, we plan to conduct an external security audit to build confidence in KAGOME among node operators. To achieve all of this, the work on the new proposal scope will be a joint effort between Quadrivium, Soramitsu, and SRLabs:

  • Quadrivium is a team of original C++ developers that developed KAGOME and C++ Libp2p. In August 2023 entire team has spun off from Soramitsu to group Quadrivium that will be responsible for feature implementation. 
  • During this grant proposal implementation Soramitsu partners with Quadrivium to provide DevOps, QA and Security services for KAGOME. Soramitsu team is also experienced with KAGOME and Substrate and has necessary expertise to provide necessary infrastructure for testing KAGOME to ensure its stability, conformance with the spec and compatibility with Substrate
  • SRLabs is a Security Audit company that will be conducting an initial audit of KAGOME. SRLabs already has years of experience in auditing Substrate, which makes it a perfect fit for checking KAGOME

In addition, Web3 Foundation will be participating as technical advisor and will provide mentoring and technical support to ensure the completeness of milestones and conforming the specification.

The scope of this proposal:

  • Optimized Merkle storage
  • RPC Improvements: caching, new interfaces
  • Asynchronous backing
  • Libp2p improvements: QUIC, WebRTC, DOS protection
  • SASSAFRAS
  • BEEFY
  • New WASM Engine (WASM Edge)
  • General maintenance
  • Development infrastructure
  • Integration tests with Zombienet
  • Security Audit

Requested DOT: 253862

Please review the full proposal with detailed tasks descriptions and price breakdown:

https://docs.google.com/document/d/17ZmueuaMjXY3_SRBHxWtKNHzpLNtSd_KGVfeTII6Nbc/

Comments (8)

2 years ago

If you want to join AAG one Thursday, say hey & book a slot! 🤖❤️

2 years ago

I wanted to comment here and share my personal opinion since I worked quite a lot with Kamil and his team in the last few years.

First, I think client diversification is important to make a network truly unstoppable. It can also help to identify bugs and improve the performance of the network (see the above-mentioned Improved performance of Erasure coding library). Furthermore, insurance companies that are entering this space see it as a critical factor. Therefore, a secure and truly resilient infrastructure is one of the key or even the key infrastructures that should and need to be supported via the treasury.

Regarding the proposal itself, I want to add a few comments:

  • Compared to other networks that publicly celebrate that they funded additional implementations (see https://twitter.com/cburniske/status/1608628559857475584) because of Kagome, Kusama currently already has two implementations and might be the only network besides Ethereum that has this. 
  • The included SRLabs audit makes a lot of sense and addresses one of the biggest concerns I would have running this software as a validator at the moment.
  • I personally see it positive that Quadrivium, a separate entity that is completely focused on Kagome for now, will be in charge of the project.

All that said, everyone needs to decide for themselves if the current price and scope are justified.

Load more comments
PleaseLogin to comment

Requested

DOT
253.86K DOT

Proposal Failed

Summary

0%

Aye

AyeNay

0%

Nay

Aye (107)0.0 DOT

Support0.0 DOT

Nay (73)0.0 DOT

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2025

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy