Referenda

Open and closed proposals

Polkadot
#1169ExecutedMedium SpenderResearch & Security

Showcasing Polkadot’s Capabilities: The Spammening

Proposer
Requested
65.0k DOT
Ended
14 Oct 2024
Comments
7
Beneficiary133ZQT…5UeRW

AI Digest

Category Research & Security
  • Amforc proposes demonstrating Polkadot’s scalability by filling blocks with transactions for approximately 30 minutes.
  • The request is 65,000 DOT for transaction fees and temporarily financing existential deposits.
  • At least 80% of DOT spent on fees, plus unused funds and temporary existential-deposit amounts, will be returned to the treasury.
  • A parallel Kusama experiment was planned first, with the Polkadot test delayed or funds returned if unfixable bugs emerged before December 20, 2024.

Description

Written by the proposer, as published on Subsquare · last edited 23 Dec 2024, 14:24 UTC

Edit: excess funds have been returned for both Kusama and Polkadot:

Date: September 2024

  • Proponent: Amforc
  • Requested DOT: 65000

Short description:

We propose to showcase Polkadot’s high scalability in a real-world setting by submitting enough transactions to completely fill blocks for ca. 30 minutes. To do so, we require DOT to pay for the transaction fees plus to temporarily finance some existential deposits (EDs).

Note:

At least 80% of the DOT spent in fees through this proposal will be returned to the treasury (see: https://wiki.polkadot.network/docs/learn-polkadot-opengov-treasury). We will also return any excess DOT remaining after spamming transactions or DOTs used for temporary EDs.

Amforc takes no cut for conducting this experiment. For full disclosure, as Amforc operates validators on Polkadot, these validators may occasionally collect part of the transaction fees.

Please find the full proposal here

Edit:

Following community feedback, we have decided to submit a parallel referendum on Kusama that would be executed before this referendum. Should any bugs be revealed on the canary network, we will hold off on spamming Polkadot until those are fixed, or return the funds if revealed bugs cannot be fixed until December 20, 2024.

Discussion

7 comments from OpenShore and Subsquare; spam hidden

Markdown
Signed with your wallet. No fee, nothing on-chain.
muddlebee805d 11h ago

A novel initiative. Very much interested to see the outcome of this experiment :)

Shawn Tabrizi805d 10h ago

Where can we find the script that you plan to use?

Have you tried running this script on a local version of the Polkadot relay chain and shown that the blocks are being fully saturated?

There are some intricacies around making a high quality spamming script for Polkadot.

Furthermore, I would like to point out that transaction throughput on Polkadot is a really bad measure of how scalable it is. It is designed to process parachains, and there is a lot of "background work" happening on the Polkadot relay chain which take away from its ability to do basic balance transfers.

I think you will still find a good result (~1+K tps), I think it is much more of a signal to show how 10+ parachains with full blocks are being processed in parallel on the network.

Perhaps this proposal should focus on doing balance transfers, in parallel, on all Polkadot system chains.

Amforc805d 1h ago

Hey @Shawn Tabrizi ,

The script is currently not public, but we can publish it before launching the spammening once we are finished optimizing it plus fixing the last small bug. The script does the following:

  • Create 12k accounts and seed them with the ED
  • Shuffle randomly between accounts using transfer_keep_alive, while ensuring each account only occurs once per block as either sender or recipient, until only ED plus a safety buffer remains
  • Reap all accounts and collect the EDs.

We have partially based it on your talk about the topic at sub0 Lisbon. Happy for any further inputs on what we should consider additionally.

Regarding how good of a measure it is, we fully agree - it's not a very relevant number from a technical perspective. In terms of showcasing that some of the capabilities that other blockchains tout as novel and unique, however, this may help us position Polkadot further as a leader from the tech side with a convincing and simple to understand benchmark.

As briefly noted in the doc, if this initiative should prove to be successful, we plan to do a second version where we include parachains as well.

Shouldn't this be better suited to Kusama?

Even if that won't give us the exact result it should be quite similar to the "test in prod" scenario.

Amforc805d 1h ago

Hey @SAXEMBERG/Governance ,

We believe the impact of such a demonstration is orders of magnitue greater on Polkadot. Our goal is, in part, to prove that Polkadot can easily compete with other chains on a simple metric such as transactions per second, albeit that number not being particularly relevant for Polkadot.

Lorena Blockya804d 16h ago

I consider this test should be done in Kusama first.

Alice und Bob790d 16h ago

spam it with haste!