Back to Medium Spender
Rejected
Requested:
2.74K KSM

#202 Ziggurat - Kusama Treasury Proposal - Milestone 1

Proposer:
JEMQ...gMnW
 
in Democracy
Beneficiary:
(2.74K KSM)
22nd May '23
(Edited)
treasury
referenda
ziggurat
+1

This is a proposal relating to the previous discussion here. As requested in the previous discussion we:

  • Clarified some budget items and staffing assignments
  • Created a more non-technical oriented TL:DR and description
  • Reached out to the Kusama and Polkadot developer communities and asked for their feedback
  • Received a positive response from aforementioned communities (as evidenced in the discussion above)

TL:DR:

  1. Network level attacks are an unresearched area of risk for blockchains
  2. Ziggurat helps detect network level attacks before they happen.
  3. We propose to build out Ziggurat to support substrate based networks, starting with Kusama.

Short Description

A Ziggurat is a rectangular stepped tower that uses precise measurements to ensure that each foundation can support the layers above.

This metaphor can be applied to network testing by defining three layers:

  • Conformance: adherence to the network protocol
  • Performance: healthy throughput under pressure
  • Resistance: the withstanding of malicious behavior

Ziggurat by Equilibrium, is a set of tools that allows node developers to test these three layers extensively and ensure that each new release does not introduce bugs, performance bottlenecks, or security flaws.

As mentioned in the conclusion of the recent Trail of Bits report: It’s only a matter of time before a blockchain network is completely toppled by a network-level hack. This proposal will detail why this work is critical, and how we will go about solving it.

Ziggurat currently supports a multitude of other blockchains, but does not yet have support for any Substrate-based chains such as Kusama.

This proposal is for the first milestone of this process: Creating a test plan. Please see Milestone 1's description in the overall proposal here.

The Team behind it

Lukasz Jedrzejczyk (GitHub, LinkedIn) has followed the development of Rust since before it became stable in 2015 and has been a proactive contributor to the Rust compiler and its StackOverflow community. He has participated in the development of multiple peer-to-peer nodes belonging to blockchains and other distributed systems, usually concentrating on the network layer. Notable examples are Rust IPFS and Aleo.

Niklas Long (GitHub, LinkedIn) deeply cares about open source, distributed systems and data privacy. He has been on the Aleo Core Team since late 2020, mostly overhauling, testing and profiling their network; is the author of Ziggurat and an active contributor to Rust IPFS.

Karlo Mardešić (GitHub) is an embedded software engineer with a solid background in time network synchronization. An eager and passionate learner, he joined Eiger searching for exciting problems in the blockchain world and is currently focused on testing the network protocols. He takes great pleasure working in Rust and OSS community.

Mark Henderson (GitHub, Twitter) is the VP of Engineering at Equilibrium. He has led the team starting with the original Rust IPFS grant in late 2019, through engagements with many of the largest names in Web3, and is now circling back to finish the critical work the team started with the original Ziggurat proposal. Core contributor to OrbitDB, Rust IPFS, and Ziggurat.

Proposal Team Experience

Equilibrium is a software consultancy and venture studio with a mission to further privacy and decentralization. Our clients include StarkWare, ZCash, Aleo, Protocol Labs, The Ethereum Foundation, The XRPL Foundation, Polygon and quite a few more. Our expertise is deeply technical, and we also employ economists and expert cryptographers to deliver results beyond the bounds of software development.

Much of our recent work has involved the design and testing of peer-to-peer networks in both familiar (e.g. libp2p) and customized contexts. Our impact typically falls into the following categories:

Bug Fixing

  • detecting vulnerabilities using dedicated fuzz tests
  • squashing memory leaks
  • detecting and fixing blocking operations in asynchronous contexts

Implementation

  • creating alternative implementations of network protocols
  • creating thorough network integration tests
  • simplifying existing implementations, suggesting protocol improvements

Profiling

  • creating integration-level benchmarks
  • detecting and investigating memory/CPU spikes
  • introducing/increasing parallelism where applicable

Network Analysis

  • crawling swarms using the P2P network layer (not RPC)
  • visualizing data to display on a web-based interface
  • gathering metrics such as reachable node cardinality, as well as node and network protocol versions

Furthermore, Equilibrium has a taste for graphic and product design, seen in the execution of Vanilla, the XRPL Hooks Playground, and the in-progress Ziggurat GUI site itself.

For a detailed budget and breakdown of price, see the attached proposal.

Unfurled: https://docs.google.com/document/d/1HRhFKo5w73wP5Nz8hg3xtw5GmPseNrzsarJLNNZqDZo/edit?usp=sharing

Show More

Proposal Failed

The approval was lesser than the threshold for this track.
Summary
Failed
50%Aye
AyeNay
50%Nay
Ayes(0)
0.00 KSM
Nays(0)
0.00 KSM
Support
0.00 KSM
Voting Details
Approval0.00%Threshold0.00%
Support0.00%Threshold0.00%
Please Log In to comment

3Comments
0%
0%
67%
0%
33%
DMoX...UJvg
 
 
22nd May '23

Hey folks, Mark from Equilibrium here. Here is the original discussion:

https://kusama.polkassembly.io/post/2570

Cged...Nkk4
 
 
22nd May '23

Hi guys, I recommend you set up an on-chain identity so people know who you are when they see the referendum. Having just a public address isn't playing in your favour as a first glimpse. Cheers

Hide replies
JEMQ...gMnW
 
 
23rd May '23

@4d091d52a6484f2b807500a49

How does that work? I tried to set it up but seems like it didnt work.

FABq...ah6h
 
 
23rd May '23

@2b5d60f85e9a46189bf66825c Hi team,

Here is the information: https://support.polkadot.network/support/solutions/articles/65000181981-how-to-set-and-clear-an-identity. Make sure you have 0.34KSM available to pay for the on-chain identity deposit.

Thanks.

FLKB...svZR
 
 
23rd May '23

@2b5d60f85e9a46189bf66825c

I also created a tutorial here on how to do it if you prefer a video version.

JEMQ...gMnW
 
 
26th May '23
HUj6...GLD6
 
 
13th Aug '23

Hello,

We are in the process of validating a true need for a service to assist teams with crafting and completing successful treasury proposals, so they can focus on building. We would love to hear about your experience with this proposal. If you are willing to take a few minutes, please fill out this form about your experience with the OpenGov treasury proposal process: https://forms.gle/MwDij4adXEQd7Um79

Feel free to leave out any details that your team is not comfortable with sharing, but the more info you can provide, the better we will be able to assess the potential need for our services.

For more info, follow us on Twitter/X: https://twitter.com/OpenGovAssist


Discover similar proposals