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 Medium Spender

Showcasing Polkadot’s Capabilities: The Spammening

inMedium Spender
2 years ago
Executed

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

  • https://kusama.subscan.io/extrinsic/26331633-2
  • https://polkadot.subscan.io/extrinsic/23968632-2

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.

Comments (18)

2 years ago

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

2 years 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.

2 years 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.

Load more comments
PleaseLogin to comment

Requested

DOT
65.00K DOT

Proposal Passed

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 2026

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy